Help Center/ Virtual Private Cloud/ FAQs/ Connectivity/ Why Can My Server Be Accessed from the Internet But Cannot Access the Internet?
Updated on 2024-04-30 GMT+08:00

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.

Figure 1 Possible causes
Table 1 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

See Security Group Rules

Network ACL rules

See Network ACL Rules

Network Configurations

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.