Help Center/ Data Admin Service/ FAQs/ Managing connections/ What Should I Do If I Can't Connect to My ECS (Microsoft SQL Server) Instance?
Updated on 2023-12-07 GMT+08:00

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

Error message: The TCP/IP connection to the host 100.xxx.xx.xx, port xxx has failed.

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?.