Azure DB for PostgreSQL flexible server always show connection time out, Is the server running on that host and accepting TCP/IP

Jialin Hua 0 Reputation points
2024-08-21T01:31:36.3266667+00:00

I built a Azure Database for PostgreSQL flexible server, and I did select "allow public access to this resource through the internet using a public IP address" and I did select "allow public access from any Azure service within service within Azure to this server" and in the firewall rule I added the allowed IP from 0.0.0.0 to 255.255.255.255. But When I connect the DB, it always show the error: psql: 错误: 连接到"thinkbot.postgres.database.azure.com" (52.149.145.12)上的服务器,端口5432失败:Connection timed out (0x0000274C/10060)

    Is the server running on that host and accepting TCP/IP connections?

So Whta wrong with the Azure DB?

Azure Database for PostgreSQL
{count} votes

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.