Why Cannot I Ping My EIP After It Is Bound to a DB Instance?
Fault Location
- Check security group rules.
- Check network ACLs.
- Ping the affected EIP from another ECS in the same region.
Solution
- Check security group rules.
- Log in to the management console.
- Click
in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the target DB instance.
- In the Connection Information area, click the security group.
- Check whether the ECS NIC security group allows the inbound ICMP traffic.
Table 1 Security group rules Direction
Type
Protocol/Port Range
Source IP Address
Inbound
IPv4
Any: Any
0.0.0.0/0
(all IP addresses)
Inbound
IPv4
ICMP: Any
0.0.0.0/0
(all IP addresses)
- Check network ACLs.
- Check the network ACL status.
- Check whether the NIC to which the EIP bound belongs to the subnet associated with the network ACL.
- If the network ACL is enabled, add an ICMP rule to allow traffic.
The default network ACL rule denies all incoming and outgoing packets. If the network ACL is disabled, the default rule still takes effect.
- Ping the affected EIP from another ECS in the same region.
Use another ECS in the same region to ping the EIP. If the EIP can be pinged, the virtual network is normal. Contact customer service.
Database Connection FAQs
- What Should I Do If I Can't Connect to My RDS DB Instance?
- Can an External Server Access the RDS Database?
- What Do I Do If the Number of RDS Database Connections Reaches the Upper Limit?
- What Is the Maximum Number of Connections to an RDS DB Instance?
- How Can I Create and Connect to an ECS?
- What Should I Do If an ECS Cannot Connect to an RDS DB Instance Through a Private Network?
- What Should I Do If a Database Client Problem Causes a Connection Failure?
- What Should I Do If an RDS Database Problem Causes a Connection Failure?
- How Do My Applications Access an RDS DB Instance in a VPC?
- Do Applications Need to Support Reconnecting to the RDS DB Instance Automatically?
- Why Cannot I Ping My EIP After It Is Bound to a DB Instance?
- How Can I Obtain the IP Address of an Application?
- Can I Access an RDS DB Instance Over an Intranet Connection Across Regions?
- Is an SSL Connection to a DB Instance Interrupted After a Primary/Standby Switchover or Failover?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more