Help Center> Data Admin Service> FAQs> Connection Management (Development Tool)> What Should I Do If I Can't Connect to My ECS (PostgreSQL) Instance?
Updated on 2023-03-03 GMT+08:00

What Should I Do If I Can't Connect to My ECS (PostgreSQL) Instance?

Error message: Connection refused (Connection refused).

Error cause: The port number of the self-built database is incorrect, or the network is disconnected.

Solution: Ensure that the port number of the self-built database is correct and that the port is included in the security group rule and firewall whitelist. For details, see How Do I View and Modify ECS Security Group Rules? and How Do I View and Modify Firewall Rules?.

Connection Management (Development Tool) FAQs

more