What Should I Do If the Network Connectivity Test Fails?
Before connecting to a GaussDB(for MySQL) instance, you need to test the network connectivity to ensure that the client can communicate with the GaussDB(for MySQL) instance.
This section analyzes common causes of network connection failures and provides solutions.
Fault Locating
- Check whether the ECS and GaussDB(for MySQL) instance are in the same VPC.
- Check the security group rules, ACL rules, internal network configurations, and ports of the ECS.
- Check the security group rules of the GaussDB(for MySQL) instance.
- Ping the affected IP address from another ECS in the same region.
Solution
- Check whether the ECS and GaussDB(for MySQL) instance are in the same VPC.
- If they are in the same VPC, go to 2.
- If they are in different VPCs of a region, they cannot communicate with each other through a private network.
To resolve this issue, do as follows:
- Create a VPC peering connection. For details, see VPC Peering Connection Overview.
- Change the VPC of the ECS to that of the GaussDB(for MySQL) instance. For details, see Changing a VPC.
- Check the ECS configurations.
For details, see Why Does Communication Fail Between Two ECSs in the Same VPC or Packet Loss Occur When They Communicate?
- Check the security group rules of the GaussDB(for MySQL) instance.
On the Inbound Rules page of the GaussDB(for MySQL) instance security group, add an inbound rule for the private IP address and port of the ECS.
- Ping the affected IP address from another ECS in the same region.
On the ECS, ping the IP address that failed to be pinged. If the IP address can be pinged, the virtual network is normal.
- If the problem persists, submit a service ticket by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot