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.
- Windows ECS: Checking the Firewall Configuration.
- NIC
Check the NIC and DNS configurations.
- Linux ECS: Checking the NIC Configuration.
- Windows 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.
Network ACL Rules
Check whether the network ACL of the subnet that the server belongs to denies the outbound traffic.
By default, a network ACL denies all outbound traffic. You need to add an outbound rule with Action set to Allow to the network ACL associated with the server.
Submitting a Service Ticket
If the problem persists, submit a service ticket.
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