Azure Cosmos DB for PostgreSQL Cluster connection issue

Arulprakash V 0 Reputation points
2023-05-18T13:34:58.12+00:00

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?
Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,901 questions
Azure Database for PostgreSQL
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2023-05-18T14:27:02.12+00:00

    Have you configured the firewall to allow access to the server as explained here? Have you created the appropriate firewall rules?


  2. GeethaThatipatri-MSFT 29,542 Reputation points Microsoft Employee Moderator
    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.