Why Can My Server Be Accessed from the Internet But Cannot Access the Internet?
Symptom
The server can be accessed from, but cannot access the Internet.
Troubleshooting
Check the following possible causes.
Possible Cause |
Solution |
---|---|
Network configurations |
Check firewall and NIC configurations. See Network Configurations. |
EIP connection |
See Why Does Internet Access Fail Even If My ECS Is Bound with an EIP? |
Security group rules |
|
Network ACL rules |
Network Configurations
- Firewall
Disable firewall rules for the ECS and check if Internet connectivity is restored:
- Linux ECS: Checking the Firewall Configuration.
- NIC
Check the NIC and DNS configurations.
- Linux ECS: Checking the NIC Configuration.
Security Group Rules
Check if there is a security group rule for the server denying the outbound traffic.
By default, a security group allows all outbound traffic. If the outbound traffic is denied, you can configure security group rules or click Allow Common Ports.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.