ERR_CONNECTION_CLOSED – Complete Fix Guide (2026)
Table of Contents
- Why ERR_CONNECTION_CLOSED Happens
- 1. Restart Your Router and Computer
- 2. Clear Browser Cache and Cookies
- 3. Reset TCP/IP Stack and Winsock
- 4. Disable VPN and Proxy Settings
- 5. Temporarily Disable Antivirus and Firewall
- 6. Flush DNS Cache
- 7. Reset Google Chrome Settings
- 8. Check the Hosts File
- 9. Advanced Troubleshooting
- Conclusion
- FAQ
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.
- Restart your computer.
- Power off your modem and router. Unplug them from power.
- Wait 30 seconds, then plug them back in.
- Wait for all lights to stabilize, then restart your PC.
- 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.
- Open Chrome and press Ctrl + Shift + Delete.
- Select “All time” for time range.
- Check “Cookies and other site data” and “Cached images and files”.
- Click Clear data.
- 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.
- Open Command Prompt as Administrator.
- Run the following commands in sequence:
netsh int ip reset netsh winsock reset - Restart your PC.
- 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.
- Disconnect your VPN if active.
- Open Settings > Network & Internet > Proxy.
- Ensure “Use a proxy server” is turned Off.
- In Chrome, go to
chrome://settings/systemand 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.
- Open your antivirus application.
- Turn off real-time protection or pause protection temporarily.
- Disable the Windows Firewall or any third-party firewall.
- Test the website in Chrome.
- If the error resolves, add Chrome or the specific website to the exclusion list.
- 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.
- Open Command Prompt as Administrator.
- Run the following command:
ipconfig /flushdns - Wait for the confirmation message.
- 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.
- Open Chrome and go to
chrome://settings/reset. - Click “Restore settings to their original defaults”.
- Click “Reset settings” to confirm.
- 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.
- Navigate to C:\Windows\System32\drivers\etc.
- Open the hosts file with Notepad (as administrator).
- 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).
- If you find suspicious entries, remove or comment them out with a #.
- 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
- Windows 11 Troubleshooting Hub
- ERR_CONNECTION_RESET
- Chrome ERR_CONNECTION_TIMED_OUT
- “Your Connection is Not Private” Error
- DNS Server Not Responding in Windows 11
- Chrome Opens But Pages Won’t Load
- DNS_PROBE_FINISHED_BAD_CONFIG Error
- DNS_PROBE_FINISHED_NXDOMAIN Error
- ERR_NETWORK_CHANGED Error Fix
- ERR_ADDRESS_UNREACHABLE Error Fix
- NET ERR_CERT_DATE_INVALID Error Fix
- ERR_TIMED_OUT Error Fix
- Default Gateway Is Not Available Error Fix
- Windows 11 “No Internet, Secured” Wi-Fi Error Fix
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.
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.
Pingback: ERR_NETWORK_CHANGED – Complete Fix Guide (2026)