What Should I Do If an ECS Cannot Connect to a DDS DB Instance?
Perform the following steps to identify the problem: The following uses the cluster instance as an example.
- Check whether the ECS and DDS DB instance are located in the same VPC.
- If yes, go to 2.
- If no, create an ECS in the VPC where the DDS DB instance is located.
- Check whether a security group has been added to the ECS.
- If yes, check whether the security group rules are suitable. For details, see Setting a Security Group. Then, go to 3.
- If no, go to the VPC console from the ECS details page and click Security Groups to add a security group.
- On the ECS, check whether the DDS DB instance address port can be connected.
telnet <DB instance address> {8635}- If yes, the network is normal. Check the database account and password. For details, see Connecting to a DB Instance.
- If no, contact post-sales technical support for troubleshooting.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.