How to fix the error ERR_CONNECTION_CLOSED

The error ERR_CONNECTION_CLOSED in your browser indicates that the connection to the server was closed unexpectedly. This can occur for several reasons, including network issues, browser settings, or server-side problems. Here’s a step-by-step guide to troubleshoot and fix this error:


1. Check Your Internet Connection

  • Ensure your device is connected to the internet.
  • Restart your router or modem.
  • Try visiting other websites to confirm if the issue is specific to one site.

2. Clear Browser Cache and Cookies

  • Google Chrome:
    1. Open Chrome settings (chrome://settings/clearBrowserData).
    2. Select Cookies and other site data and Cached images and files.
    3. Click Clear data.

3. Disable Proxy or VPN

  • If you’re using a proxy or VPN, disable it temporarily:
    • Windows:
      1. Go to Settings ? Network & Internet ? Proxy.
      2. Turn off Use a proxy server.
    • Mac:
      1. Open System Preferences ? Network.
      2. Select your active connection and click Advanced.
      3. Go to the Proxies tab and uncheck any enabled proxies.

4. Reset Your TCP/IP Stack

  • Windows:
    1. Open Command Prompt as Administrator.
    2. Run the following commands one by one:
      bash
      netsh int ip reset
      netsh winsock reset
      ipconfig /flushdns
    3. Restart your computer.
  • Mac:
    1. Open Terminal.
    2. Flush DNS using:
      bash
      sudo dscacheutil -flushcache
      sudo killall -HUP mDNSResponder

5. Update Your Browser

  • Make sure you’re using the latest version of your browser. Update it if necessary.

6. Disable Browser Extensions

  • Extensions can sometimes interfere with connections:
    1. Open your browser’s extensions page (chrome://extensions for Chrome).
    2. Disable all extensions and see if the issue resolves.
    3. Enable them one by one to identify the culprit.

7. Check for Malware

  • Run a scan using reliable anti-malware software like Malwarebytes to ensure your system is not infected.

8. Disable Firewall or Antivirus Temporarily

  • Sometimes, overzealous firewalls or antivirus programs block connections:
    • Disable them temporarily to see if the issue resolves.
    • If it works, adjust their settings to whitelist your browser.

9. Verify DNS Settings

  • Use Google’s public DNS:
    • Windows:
      1. Go to Network and Sharing Center ? Change adapter settings.
      2. Right-click your active connection ? Properties.
      3. Select Internet Protocol Version 4 (TCP/IPv4) ? Properties.
      4. Use the following DNS server addresses:
        • Preferred: 8.8.8.8
        • Alternate: 8.8.4.4
    • Mac:
      1. Go to System Preferences ? Network.
      2. Select your connection ? Advanced ? DNS.
      3. Add 8.8.8.8 and 8.8.4.4.

10. Check the Website or Server

  • The server hosting the website might be down. Try accessing the site from another device or network.

11. Reinstall or Reset Browser

  • If nothing else works, reinstall or reset your browser to default settings.

12. Contact Your ISP

  • If the issue persists, your Internet Service Provider might have a network problem. Contact them for assistance.
Was this article helpful?
YesNo