# \`flyctl m api-proxy\` fails inside fly deployment

**URL:** <https://community.fly.io/t/flyctl-m-api-proxy-fails-inside-fly-deployment/7815>\
**Category:** General\
**Created:** [October 12, 2022, 9:26am UTC](https://community.fly.io/t/flyctl-m-api-proxy-fails-inside-fly-deployment/7815 "2022-10-12T09:26:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lubien](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/lubien/32/41919_2.png) [@lubien](https://community.fly.io/u/lubien)\
**Post date:** [October 12, 2022, 12:14pm UTC](https://community.fly.io/t/flyctl-m-api-proxy-fails-inside-fly-deployment/7815/2 "2022-10-12T12:14:04Z")

</div>

Sorry to hear this is happening:

We are having some issues with our `fly proxy` commands:

> [@flyctl proxy fails](https://community.fly.io/t/flyctl-proxy-fails/7818/4):
>
> Thanks for reaching out on this, we are seeing now that fly proxy on latest flyctl has some issues and we will investigate. Your port should be correct, I think the only thing missing might be the db name (which is most likely postgres too): postgres://postgres:\<pass\>@\<app\_name\>.internal:5432/postgres. Can you share what error message you got?

---

_[View the full topic](https://community.fly.io/t/flyctl-m-api-proxy-fails-inside-fly-deployment/7815)._
