There was a problem loading the comments.

My VPS Has No Internet / Network Not Working

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

If your VPS cannot reach the internet or has no network connectivity, follow these steps to diagnose and fix the issue.

 

Step 1: Check if Your Network Interface Is Up

Log in via VNC console (see our VNC article if SSH isn't working) and run:

ip a

 

Look for your main interface (usually eth0 or ens3). It should show state UP. If it shows DOWN, bring it up:

ip link set eth0 up

 

Step 2: Check if an IP Address Is Assigned

In the output of ip a, look for a line starting with inet under your interface. If there's no inet line, your VPS hasn't received an IP address.

EZSCALE VPS uses DHCP by default. Try requesting an IP:

dhclient eth0

 

If DHCP isn't working, you can set a static IP instead (see our "How to Set a Static IP" article). Find your IP address and gateway in the VirtFusion panel under your server's Network tab.

 

Step 3: Check Your Routing Table

ip route

 

You should see a line like default via 10.x.x.1 dev eth0. If there's no default route, add one:

ip route add default via YOUR_GATEWAY dev eth0

 

Step 4: Test Connectivity

Test in order — this tells you exactly where the problem is:

# Test gateway (local network)
ping -c 3 YOUR_GATEWAY

# Test internet (bypasses DNS)
ping -c 3 8.8.8.8

# Test DNS resolution
ping -c 3 google.com
  • If the gateway ping fails: your IP or interface config is wrong.
  • If 8.8.8.8 works but google.com fails: it's a DNS issue (see below).
  • If everything works: your network is fine — the issue may be application-specific.

 

Step 5: Fix DNS Issues

Check your DNS configuration:

cat /etc/resolv.conf

 

You should see at least one nameserver line. If the file is empty or wrong, fix it:

echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf

 

Test DNS with:

nslookup google.com

 

Still Not Working?

If none of the above helps:

  1. Use the VNC console in VirtFusion to access your VPS directly.
  2. Try rebooting your VPS from the VirtFusion panel.
  3. Contact support with the output of ip a, ip route, and which ping tests passed or failed.

Share via
Did you find this article useful?  

Comments

Add Comment

Replying to  

© EZSCALE Hosting, LLC