Self-Built Databases on ECSs

1. 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 Modifying ECS Security Group Rules and Modifying Firewall Rules.