To troubleshoot the issue of no network after logging into a cloud server, follow these steps:
Check Network Configuration:
ip addr (Linux) or ipconfig (Windows) to check.Test Basic Connectivity:
ping <gateway_ip> (Linux/Windows).ping 8.8.8.8) to check if outbound traffic is allowed.Check Firewall Rules:
iptables or firewalld:sudo iptables -L # Check rules
sudo systemctl status firewalld # Verify firewall status
Inspect Routing Table:
route -n (Linux) or route print (Windows) to ensure the default route is set correctly.Verify Cloud Network Settings:
Check for Service Disruptions:
Example:
If ping 8.8.8.8 fails but ping <gateway_ip> works, the issue may be with the default route or outbound rules.
Recommended Tencent Cloud Services: