Windows ← Knowledge Base

Computer Cannot Connect to the Internet

Problem

A Windows computer has no internet access, either on Wi-Fi or Ethernet, despite appearing to be connected to the local network.

Symptoms

  • Browser shows "no internet" or pages time out
  • Network icon in the taskbar shows a warning triangle
  • Some apps work (cached data) while live features fail

Possible Causes

  • No DHCP lease obtained (APIPA address)
  • DNS server unreachable or misconfigured
  • Router or modem WAN connection down
  • Faulty cable, port, or Wi-Fi adapter
  • VPN or proxy misconfiguration overriding the route

Diagnostic Steps

  1. Run ipconfig /all and check the IPv4 address, gateway, and DNS servers
  2. Ping the default gateway to confirm local connectivity
  3. Ping an external IP (8.8.8.8) to test the WAN path
  4. Ping a domain name to isolate DNS specifically
  5. Check whether other devices on the same network are also affected

Commands & Tools

ipconfig /allping 192.168.1.1ping 8.8.8.8nslookup example.comTest-NetConnection example.com -Port 443

Step-by-Step Solution

  1. If the IP starts with 169.254 (APIPA), run ipconfig /release then ipconfig /renew
  2. If the gateway does not respond, restart the router and check physical cabling
  3. If the gateway responds but 8.8.8.8 does not, restart the modem, then the router, and check the ISP status page
  4. If IPs work but domain names fail, run ipconfig /flushdns and try an alternate DNS server (1.1.1.1)
  5. Disable any active VPN temporarily to rule out a routing override

Verification

Confirm ipconfig shows a valid non-APIPA address, ping to the gateway and to 8.8.8.8 both succeed, and a normal website loads by name in a browser.

Common Mistakes

  • Restarting only the computer without checking the router/modem first
  • Assuming DNS is the cause without testing ping-by-IP to rule it out
  • Not checking whether the outage is isolated to one device or affects the whole network

Escalation Criteria

Escalate if multiple users/devices are affected simultaneously (likely infrastructure-wide), or if the ISP confirms no outage but the WAN link still shows down at the router.

Prevention

Keep router firmware updated, use a DHCP reservation for critical devices, and monitor ISP status proactively rather than reactively.

Related Articles