How to Fix ERR_CONNECTION_REFUSED in Google Chrome
Disable manual proxy settings in Windows Settings, clear Chrome browser cache, and verify your firewall is not blocking port 80/443.
Preliminary Fast Checks
Verify these 3 simple prerequisites before proceeding to in-depth fixes:
đŦ Root Cause: Why Does ERR_CONNECTION_REFUSED Occur?
ERR_CONNECTION_REFUSED means the target server or local port actively sent a TCP RST (reset) packet back to your browser, indicating that no listening socket is accepting connections on that port, or a local proxy server is misconfigured.
đ Primary Triggers for ERR_CONNECTION_REFUSED
- The destination web server is down or its web service (Nginx/Apache) has stopped.
- An unauthorized proxy server has been enabled in Windows Internet Settings.
- Third-party antivirus or firewall blocking browser ports.
- Corrupted browser cookies and cached network sockets.
What NOT to Do
Do not disable Windows Defender Firewall permanently; add a browser rule instead.
Complete Step-by-Step Solutions for ERR_CONNECTION_REFUSED
Execute these verified methods sequentially from easiest to most advanced:
Disable Proxy Server in Windows Settings
Malware or VPN uninstallations often leave ghost proxy settings active.
ms-settings:network-proxy
Press Win + R, paste the command above, press Enter. Ensure 'Automatically detect settings' is ON, and 'Use a proxy server' is toggled OFF.
Clear Chrome Browser Cache & Sockets
Force Chrome to re-negotiate fresh TCP connection handshakes.
In Chrome, paste 'chrome://net-internals/#sockets' in the URL bar, and click 'Flush socket pools'. Next, press Ctrl + Shift + Del and clear cache.
Reset Network Stack via Command Prompt
Rebuild Windows Winsock catalog and IP routing.
netsh winsock reset
Run Command Prompt as Administrator, execute the command above, then run 'netsh int ip reset', and restart your PC.
đĄ How to Prevent ERR_CONNECTION_REFUSED In the Future
- Keep proxy auto-detection disabled unless in an enterprise office network.
- Regularly audit browser extensions for unwanted proxy hijackers.
Frequently Asked Questions
It can be both. If other sites work, the specific website server may be offline. If NO websites work, the issue is on your PC or proxy.
If developing local apps (Node.js, Python, XAMPP), it means your local server process isn't running or isn't listening on that specific port.
Yes. Features like 'Web Protection' or 'HTTPS Scanning' in third-party antivirus suites can sever TCP connections.