# flyctl proxy fails

**URL:** <https://community.fly.io/t/flyctl-proxy-fails/7818>\
**Category:** Questions / Help\
**Tags:** postgres\
**Created:** [October 12, 2022, 10:26am UTC](https://community.fly.io/t/flyctl-proxy-fails/7818 "2022-10-12T10:26:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:00pm UTC](https://community.fly.io/t/flyctl-proxy-fails/7818/4 "2022-10-12T12:00:39Z")

</div>

> [@DevXP](#):
>
> I’ve been working fine for a few days with a postgresql database deployed in [fly.io](http://fly.io), from a local node.js project, but today after updating the flyctl version I can’t connect from my laptop.

Thanks for reaching out on this, we are seeing now that `fly proxy` on latest flyctl has some issues and we will investigate.

> [@DevXP](#):
>
> I modified the connection string to  
> `postgres://postgres:<pass>@<app_name>.internal:5432`  
> but it does not work

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-proxy-fails/7818)._
