Have you configured the firewall to allow access to the server as explained here? Have you created the appropriate firewall rules?
Azure Cosmos DB for PostgreSQL Cluster connection issue

Arulprakash V
0
Reputation points
Tried to connect through psql and spring boot programmatically but facing below error:
port 5432 failed: Connection timed out (0x0000274C/10060)
Is the server running on that host and accepting TCP/IP connections?
2 answers
Sort by: Most helpful
-
-
GeethaThatipatri-MSFT 19,276 Reputation points Microsoft Employee
2023-05-19T17:09:22.89+00:00 @Arulprakash V Welcome to the Microsoft Q&A forum, Thanks for posting your question.
Here is the troubleshooting guide for the connection issue https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/howto-troubleshoot-common-connection-issues, if none of the options resolve your issue then I recommend filing a support case
Also, check if the computer stopped on the cluster you are trying to connect to. If yes, you’d need to start compute first.
Regards
Geetha