I have been starting to have problems connecting postgres from a fly application by using proxy. It worked fine in previous experiments (that I deleted) but now since I launched a new app it is giving me this
I set it up by using flyctl launch and the typical option where it asks me to set up postgres (That is attached to my application). After setting it up, I decided to check the networks for both of the applications in the browser where you can the applications, I have a ipv6 in the database while the other application is in a pending state which has no ip network (not sure if this is a default setup after launching postgres attached to an app). I can connect to psql, but it is not letting me connect to the database using this flyctl proxy 5432 -a <app_name>-db
Here is my .env file
DATABASE_URL=postgres://postgres:< password >@127.0.0.1:5432/postgres