Hi Im trying to connect to my DB using postgres://imanagementbe:@.flycast:5432/imanagementbe?sslmode=disable
But Im getting this error:
I added my IP to allowed ip v4 shared
Hi Im trying to connect to my DB using postgres://imanagementbe:@.flycast:5432/imanagementbe?sslmode=disable
But Im getting this error:
I added my IP to allowed ip v4 shared
Added postgres
Hi… If you’re trying to connect from your local machine, then it is easiest to tunnel through with fly proxy
:
https://fly.io/docs/postgres/connecting/connecting-with-flyctl/
(Doing so makes it appear as if the database was running on localhost
—but in reality traffic is being passed along by flyctl
.)
By default, the .flycast
and .internal
addresses are not available on your desktop.
For that, you would need the db-app-name.fly.dev
style of address (among other changes).
https://fly.io/docs/postgres/connecting/connecting-external/
It’s generally best to tunnel, if you can.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.