Chrome This Site Can’t Be Reached ERR_CONNECTION_REFUSED
Fix Chrome ERR_CONNECTION_REFUSED (’This site can’t be reached’) by checking live server uptime, Windows LAN proxy configs, DNS cache, and localhost ports.
Overview & Technical Context
Unlike silent timeouts (ERR_CONNECTION_TIMED_OUT) where packets vanish into thin air, ERR_CONNECTION_REFUSED means your browser reached the destination IP address cleanly and received an instant TCP RST ("Port closed / Nothing listening here") rejection back. That happens in two major situations: either the target website’s web server (nginx/Apache/Node) crashed or shut down on ports 80/443 (localhost dev servers included!), OR your own PC’s broken browser proxy setting (127.0.0.1:PORT) points all web traffic toward a closed dead port left over after uninstalling an old VPN or proxy tool. Checking whether the site fails globally vs locally pinpoints the exact blocker.
Specific Symptoms
- A page drops instantaneously in less than a second to "This site can’t be reached — localhost / example.com refused to connect (
ERR_CONNECTION_REFUSED)." - Every website across your computer fails with
ERR_CONNECTION_REFUSEDright after closing a VPN or Fiddler/Charles debugger. - One web developer project (
localhost:3000) refuses connection while regular websites open fine. - Your smartphone loads the exact same URL over 5G while desktop Chrome keeps rejecting it.
Why This Error Occurs
- Stale manual Proxy Server / PAC script settings in Windows
LAN settingspoint traffic to a dead localhost port. - The target website’s Apache/Nginx/Cloud server daemon crashed or restarted under maintenance.
- Localhost development tools target
http://localhost:PORTwhile no dev server is bound on that port or IPv6 vs IPv4 loopback. - Outdated DNS / hosts entries send your machine toward an old server IP whose web daemon stopped.
Troubleshooting Steps
Test the site on mobile cellular data to separate local vs server faults
Load the URL on your smartphone disconnected from Wi-Fi. If your phone ALSO reports ERR_CONNECTION_REFUSED, the site’s remote web server software crashed or rebooted—nothing on your PC can turn a dead remote daemon back on; wait for its admin to restart services.
Verify Windows/Mac Proxy settings aren’t pointing at a closed local port
If ALL websites fail with ERR_CONNECTION_REFUSED locally, open Windows Settings → Network & internet → Proxy, switch OFF Use a proxy server under Manual proxy setup, and disable broken setup scripts unless required by your employer. Crashed proxy apps leave 127.0.0.1:8080 dangling, causing instant connection refusals everywhere.
Flush DNS and inspect local Hosts overrides cleanly
Run ipconfig /flushdns in Windows Command Prompt to purge stale cached server IP records, and test switching DNS temporarily to 1.1.1.1 / 8.8.8.8 inside your network adapter IPv4 settings. Developers seeing ERR_CONNECTION_REFUSED on localhost should verify their server actually started and binds both IPv4 127.0.0.1 and IPv6 ::1.
ipconfig /flushdns
Allow browser through firewall rules and isolate extensions
Confirm Google Chrome isn’t blocked inside third-party security suites or Allow an app through Windows Firewall, and test inside Incognito without proxy-routing VPN extensions that redirect HTTP sockets into dead ports.
What to Check If the Issue Continues
If you are hitting ERR_CONNECTION_REFUSED solely on an internal office portal (intranet.company), confirm your corporate VPN client is signed in and running—internal web servers routinely sit bound strictly behind private VPN gateways.
Frequently Asked Questions
What is the technical difference between ERR_CONNECTION_REFUSED and ERR_CONNECTION_TIMED_OUT?
ERR_CONNECTION_REFUSED happens instantly because an active host or router sent back an explicit TCP Reset refusing that port; ERR_CONNECTION_TIMED_OUT hangs for 20+ seconds waiting when packets drop silently with no reply.
Why does Chrome say localhost refused to connect when running my local app?
Either your local Node/Python/XAMPP process stopped or crashed, it listens on a different port (8000 vs 3000), or Chrome resolved localhost to IPv6 [::1] while your server bound solely to IPv4 127.0.0.1.
Can uninstalling a VPN trigger ERR_CONNECTION_REFUSED across the whole PC?
Yes! Proxy-based VPNs, Fiddler, and Charles modify Windows System Proxy settings while active—if they crash or uninstall improperly, Windows stays pinned to 127.0.0.1 on a closed port until manually turned off.
Does clearing Chrome browsing history fix ERR_CONNECTION_REFUSED?
Clearing browser cache rarely helps direct TCP port refusals unless HSTS forced an unsupported https:// redirect onto a local HTTP-only test port (clear HSTS cache at chrome://net-internals/#hsts if needed).
Search Another Error or Symptom
Search all 292 guides and tools on SolveKits: