ERR_CONNECTION_CLOSED – Complete Fix Guide (2026)

Table of Contents

Hub: Windows 11 Troubleshooting Hub

Quick Answer
An ERR_CONNECTION_CLOSED error occurs when the connection between your browser and the website is unexpectedly closed. To fix it, restart your router and computer, clear browser cache, reset TCP/IP stack, disable VPN and proxy settings, and temporarily disable antivirus. If the error persists, flush DNS cache, reset Chrome settings, or check the hosts file. For more networking troubleshooting, visit our Windows 11 Troubleshooting Hub.

Why ERR_CONNECTION_CLOSED Happens

An ERR_CONNECTION_CLOSED error indicates that the connection between your browser and the website was abruptly closed by the server, router, or a firewall before data could be fully transferred. This error is specific to Google Chrome and other Chromium-based browsers, and it occurs when the data packet exchange is interrupted. For official documentation, refer to the Google Chrome net-error-codes documentation.

The ERR_CONNECTION_CLOSED error is similar to other Chrome errors like ERR_CONNECTION_RESET and ERR_CONNECTION_TIMED_OUT, but it specifically indicates that the connection was closed rather than reset or timed out. Common triggers include antivirus and firewall interference, VPN or proxy misconfiguration, corrupted browser cache, and TCP/IP stack corruption.

Before diving into fixes, ensure you have administrator privileges on your PC. If you are on a corporate network, contact your IT administrator before making changes. For a broader overview of network errors, see our Windows 11 Troubleshooting Hub.

⚠️ Warning: An ERR_CONNECTION_CLOSED error can be caused by malware or network monitoring tools. If the error persists, run a malware scan.

1. Restart Your Router and Computer

The simplest fix for an ERR_CONNECTION_CLOSED error is restarting your router and computer. This clears temporary network glitches and refreshes your IP configuration.

  1. Restart your computer.
  2. Power off your modem and router. Unplug them from power.
  3. Wait 30 seconds, then plug them back in.
  4. Wait for all lights to stabilize, then restart your PC.
  5. Open Chrome and try loading the website again.

✅ Expected Result: A restart often resolves the ERR_CONNECTION_CLOSED immediately. If not, proceed to the next method.

2. Clear Browser Cache and Cookies

Corrupted browser cache can trigger the ERR_CONNECTION_CLOSED error. Clearing the cache and cookies can resolve it.

  1. Open Chrome and press Ctrl + Shift + Delete.
  2. Select “All time” for time range.
  3. Check “Cookies and other site data” and “Cached images and files”.
  4. Click Clear data.
  5. Restart Chrome and try loading the website again.

💡 Quick Tip: You can also clear Chrome’s internal DNS cache by visiting chrome://net-internals/#dns and clicking “Clear host cache.”

3. Reset TCP/IP Stack and Winsock

A corrupted TCP/IP stack can cause the ERR_CONNECTION_CLOSED error. Resetting it restores default network settings.

  1. Open Command Prompt as Administrator.
  2. Run the following commands in sequence:
    netsh int ip reset
    netsh winsock reset
  3. Restart your PC.
  4. Try loading the website again.

✅ Expected Result: Resetting the TCP/IP stack often resolves persistent ERR_CONNECTION_CLOSED issues.

4. Disable VPN and Proxy Settings

VPNs and proxy servers can interfere with connections and cause the ERR_CONNECTION_CLOSED error. Disabling them can resolve the issue.

  1. Disconnect your VPN if active.
  2. Open Settings > Network & Internet > Proxy.
  3. Ensure “Use a proxy server” is turned Off.
  4. In Chrome, go to chrome://settings/system and ensure “Open your computer’s proxy settings” is not enabled.

❌ Common Mistake: Forgetting to disconnect VPN before testing. VPNs can cause connection closures on certain networks.

5. Temporarily Disable Antivirus and Firewall

Antivirus and firewall software can mistakenly block connections and cause the ERR_CONNECTION_CLOSED error. Temporarily disabling them can help identify the cause.

  1. Open your antivirus application.
  2. Turn off real-time protection or pause protection temporarily.
  3. Disable the Windows Firewall or any third-party firewall.
  4. Test the website in Chrome.
  5. If the error resolves, add Chrome or the specific website to the exclusion list.
  6. Re-enable your security software immediately after testing.

🔁 Alternative Solution: If you cannot disable your antivirus, try adding Chrome to the exclusion list.

6. Flush DNS Cache

Stale DNS cache entries can cause the ERR_CONNECTION_CLOSED error. Flushing the DNS cache forces your system to retrieve fresh DNS records.

  1. Open Command Prompt as Administrator.
  2. Run the following command:
    ipconfig /flushdns
  3. Wait for the confirmation message.
  4. Restart your browser and try loading the website again.

💡 Quick Tip: You can also clear Chrome’s internal DNS cache by typing chrome://net-internals/#dns in the address bar and clicking “Clear host cache.”

7. Reset Google Chrome Settings

If the ERR_CONNECTION_CLOSED error persists, resetting Chrome to default settings can resolve the issue.

  1. Open Chrome and go to chrome://settings/reset.
  2. Click “Restore settings to their original defaults”.
  3. Click “Reset settings” to confirm.
  4. Restart Chrome and test.

✅ Expected Result: Resetting Chrome often resolves ERR_CONNECTION_CLOSED caused by corrupted extensions or settings.

8. Check the Hosts File

Incorrect entries in the hosts file can block domain resolution and cause the ERR_CONNECTION_CLOSED error.

  1. Navigate to C:\Windows\System32\drivers\etc.
  2. Open the hosts file with Notepad (as administrator).
  3. Look for entries that may be blocking domains (e.g., entries with 127.0.0.1 or 0.0.0.0 followed by a domain name).
  4. If you find suspicious entries, remove or comment them out with a #.
  5. Save the file and restart your PC.

⚠️ Warning: Do not delete the default entries in the hosts file. Only remove custom entries that may be causing issues.

9. Advanced Troubleshooting

If the error persists, try these advanced solutions.

Check for Malware

Malware can cause connection closures. Run a full scan with Windows Defender Offline. For detailed steps, see How to Scan Malware Windows 11.

Disable IPv6

IPv6 can sometimes cause connection issues. Open Control Panel > Network and Sharing Center > Change adapter settings, right-click your connection, select Properties, uncheck Internet Protocol Version 6 (TCP/IPv6), and restart.

Update Network Drivers

Outdated network drivers can cause the ERR_CONNECTION_CLOSED error. Update them via Device Manager or from your manufacturer’s website. For more, see How to Update Drivers Windows 11.

Use the Windows Network Troubleshooter

Run the built-in network troubleshooter: Settings > System > Troubleshoot > Other troubleshooters > Internet Connections > Run.

Disable Chrome Extensions

Some extensions can interfere with connections. Go to chrome://extensions and disable all extensions, then re-enable them one by one to find the culprit.

For more networking troubleshooting, explore our Windows 11 Troubleshooting Hub.

Conclusion

An ERR_CONNECTION_CLOSED error is a common connection issue that can be fixed by restarting your router, clearing browser cache, resetting TCP/IP, disabling VPN/proxy, and temporarily disabling antivirus. If the error persists, flush DNS cache, reset Chrome, check the hosts file, or perform advanced troubleshooting like scanning for malware or updating network drivers. By following these steps, you can resolve the error and restore your internet connectivity.

Regular system maintenance, such as keeping your network drivers updated and periodically flushing DNS cache, can prevent the ERR_CONNECTION_CLOSED error from recurring. For more Windows and browser troubleshooting, explore our Windows 11 Troubleshooting Hub and check out related articles on ERR_CONNECTION_RESET, ERR_CONNECTION_TIMED_OUT, and Your Connection is Not Private.

Related Guides

FAQ

What does ERR_CONNECTION_CLOSED mean?

ERR_CONNECTION_CLOSED means the connection between your browser and the website was unexpectedly closed by the server, router, or a firewall before data could be fully transferred.

How do I fix ERR_CONNECTION_CLOSED?

Restart your router, clear browser cache, reset TCP/IP stack, disable VPN and proxy settings, and temporarily disable antivirus or firewall.

Can antivirus cause ERR_CONNECTION_CLOSED?

Yes, antivirus and firewall software can mistakenly block connections and cause the ERR_CONNECTION_CLOSED error. Temporarily disabling them can help identify the cause.

Is ERR_CONNECTION_CLOSED a virus?

No, it is a network error, not a virus. However, malware can cause connection closures by interfering with your network configuration.

Does clearing browser cache fix ERR_CONNECTION_CLOSED?

Yes, clearing cache and cookies can resolve the ERR_CONNECTION_CLOSED error if it is caused by corrupted cache data.

Can VPN cause ERR_CONNECTION_CLOSED?

Yes, VPNs can interfere with connections and cause this error. Disconnect your VPN to test if it resolves the issue.

How do I reset TCP/IP stack for ERR_CONNECTION_CLOSED?

Open Command Prompt as Administrator and run netsh int ip reset and netsh winsock reset, then restart your PC.

What is the difference between ERR_CONNECTION_CLOSED and ERR_CONNECTION_RESET?

ERR_CONNECTION_CLOSED indicates the connection was unexpectedly closed, while ERR_CONNECTION_RESET indicates the connection was forcefully reset.

Can a firewall cause ERR_CONNECTION_CLOSED?

Yes, firewalls can block connections and cause the ERR_CONNECTION_CLOSED error. Temporarily disabling the firewall can help identify the issue.

What should I do if the error persists after all fixes?

If the error persists, run a malware scan, disable IPv6, update network drivers, reset Chrome settings, or contact your network administrator.

HowToFixPro Editorial Team

We’re a team of system administrators, technical writers, and platform specialists who genuinely enjoy solving the problems most users find frustrating. From persistent Windows errors and Android sync failures to browser crashes and network drops — we’ve seen it all, and we document every fix properly. Our guides are built on official documentation, direct testing, and real troubleshooting experience. No filler, no guesswork — just reliable, step-by-step solutions you can trust.

1 thought on “ERR_CONNECTION_CLOSED – Complete Fix Guide (2026)”

  1. Pingback: ERR_NETWORK_CHANGED – Complete Fix Guide (2026)

Comments are closed.

Scroll to Top