I have created a Postgres cluster for my app and everything worked perfectly when I proxied the connection from my local to postgres cluster. Suddenly, I am not able to connect to it from yesterday. However it works when I deploy the application. The fly cli works properly for all apps except the postgres cluster app. The deployed application is able to access the postgres cluster so it seems to be working, but when I try to connect using fly postgres connect or get config fly postgres config view, it doesnt work. It stalls. I also tried to create a new postgres cluster and see if it works, that connects properly and no problems. I also tried restarting the app which didnt help too.
Is there a way to identify what is happening? This work and connect when deployed, but doesnt in my local. Can I create a static IP for the postgres cluster and connect it directly instead of proxiying it through localhost?