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?.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.