Home » Products » Hosting » VPS & Dedicated Servers » ERR_CONNECTION_CLOSED: What it means and how to fix it
An ERR_CONNECTION_CLOSED error can interrupt your access to a website, but it does not always have a single cause. The problem may be related to your browser, internet connection, DNS settings, security software, or even the website’s web server or hosting environment.
This guide explains the ERR_CONNECTION_CLOSED meaning, the most common causes of the error, and the troubleshooting steps to fix it. You will also learn how to identify whether the problem is related to your browser, network, system settings, or the website itself so you can restore the connection more quickly.
What is the “ERR_CONNECTION_CLOSED” Error?
The ERR_CONNECTION_CLOSED error occurs when communication between your browser and a web server is interrupted before the requested webpage can be delivered. Because the request is not completed, your browser cannot finish loading the page and displays the error instead. This interruption can result from browser issues, misconfigured network settings, proxy settings, firewall/antivirus software, or server-side problems, making it one of the more common connection errors.
Depending on the browser you are using, the message may appear in different formats. For example, Google Chrome displays ERR_CONNECTION_CLOSED, while other browsers may use slightly different wording. Although the message varies, they all indicate that the connection ended unexpectedly before the browser could receive the website’s data.
Why does the “ERR_CONNECTION_CLOSED” error happen?
There are many reasons why you might encounter the ERR_CONNECTION_CLOSED error. Some of the most common causes include:
1. Connectivity issues
Problems with your internet connection can often be the root cause of the issue. If your connection is unstable or drops out, your browser will not be able to establish a stable connection with the website’s server, leading to the error.
2. Outdated cache or cookies
Browsers store temporary data, like cache and cookies, to make websites load faster. However, if this data becomes corrupted or outdated, it can interfere with your connection to a website, leading to the “ERR_CONNECTION_CLOSED” error.
3. DNS problems
The Domain Name System (DNS) helps your computer find websites by translating their domain names into IP addresses. An error message can appear if there is a problem with your DNS settings.
4. Firewall or antivirus settings
Firewalls and antivirus software are designed to protect your computer, but they can sometimes mistakenly block your connection to certain websites, prompting the “ERR_CONNECTION_CLOSED” error.
5. Browser Extensions
Some browser extensions may conflict with your website connections, causing this error to appear. This is especially common with extensions that modify web pages or provide additional security features.
6. Website Server Issues
Sometimes, the issue is not on your end. The website may be experiencing server hosting issues, server outages, or temporary configuration problems that prevent it from responding properly. When this happens, the ERR_CONNECTION_CLOSED error may appear even if your browser and network are working normally.
How to fix the “ERR_CONNECTION_CLOSED” error
While the “ERR_CONNECTION_CLOSED” error is common, there are some quick fixes that help resolve this error. Let us go over some common solutions that will help you resolve the issue.
1. Check your internet connection
Before trying more advanced fixes, make sure your internet connection is stable. The ERR_CONNECTION_CLOSED error often appears when your browser loses connection to the website before the request is complete. A quick connection check can help you determine whether the issue is with your device or network.
Why this works
A weak or unstable connection can interrupt communication between your browser and the website. Restarting your router or confirming you have an active connection helps rule out common network problems before changing browser or internet settings.
How to check
- Browse other websites to see if they load properly. If they do not, the issue is likely with your internet connection.
- You can also use your phone or another device to check whether the internet works. The issue might be specific to your computer or browser if you can access the web on other devices.
2. Clear your browsing data/cache
If your internet connection is working properly but the page still does not load, outdated browser data could be preventing the website from loading correctly. Clearing your cache removes old files that may be causing the same error.
Why this works
Browsers store temporary files to load websites faster. Over time, this cached data can become outdated or corrupted, leading to connection errors when you revisit a website.
How to do it
- Go to the web browser. Click on the three dots in the upper-right corner of the browser.
- Find the “More tools” option. There, you will come across clear browsing data.
- Click on the “clear browsing data” option, choose the time range, and make sure you have selected the “Cached images and files” and “Cookies and other site data” options.
- Lastly, click on the “Clear data” option.
Once you have done this, try visiting the website again. If the problem was related to cached data, clearing will fix it.
3. Flush the DNS cache
If clearing your browser data does not solve the problem, your computer’s DNS records may be outdated. Performing a flush DNS forces your device to retrieve updated website information and can restore the connection.
Why this works
DNS records help your browser locate websites more quickly. If those records become outdated or corrupted, your browser may fail to connect even when the website is available.
How to do it
Here is how to flush the DNS cache on different operating systems:
Windows:
- Open the command prompt and type the following command: “ipconfig /flushdns.”
- Then, press Enter to flush the DNS cache.
Mac:
- Open the Terminal application on your computer.
- Then, type the following command and press Enter: “sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder“
Linux:
- Open a terminal and type: “sudo resolvectl flush-caches,” then press Enter to flush the DNS cache.
Once the DNS cache is cleared, restart your browser and try accessing the website again.
4. Change your DNS server
If the first few troubleshooting steps don’t work, your DNS server may be causing the problem. A slow or unavailable DNS server can prevent your browser from reaching the correct website, even when your internet connection is working properly. Switching to a more reliable DNS server or restoring the default settings can help resolve the issue.
Why this works
DNS translates website names into IP addresses. If your DNS server is unavailable or responding slowly, your browser may fail to connect to the website, resulting in connection errors like ERR_CONNECTION_CLOSED. Changing your DNS server or restoring the default settings can help establish a more reliable connection.
How to change your DNS server
- Log in to the Control Panel and go to Network & Internet. Open Network and Sharing Center.
- Select Change adapter settings, then right-click your active connection and choose Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Choose Use the following DNS server addresses, then enter your preferred and alternate DNS servers.
Restart your browser after saving the changes. If the same error appears, continue to the next step.
5. Disable antivirus or firewall
If the error continues after updating your DNS settings, your security software could be blocking the connection. Some antivirus programs or firewalls mistakenly identify legitimate websites as threats, preventing the browser from completing the request.
Why this works
Security software helps protect your device, but antivirus blocking or strict firewall rules can sometimes interrupt legitimate website connections. Temporarily disabling your firewall or Windows Defender Firewall can help determine whether your security software is causing the ERR_CONNECTION_CLOSED error.
How to check
Temporarily disable your antivirus or firewall, then try loading the website again.
If the page opens normally, review your firewall or antivirus configuration and add the website to the exception list instead of leaving your protection disabled.
If the issue persists, re-enable your security software and continue to the next troubleshooting step.
6. Disable VPN or proxy server
If the problem continues, your VPN or proxy server may be interfering with the connection. These services route your traffic through another network, which can sometimes interrupt website requests.
Why this works
Incorrect proxy settings, unstable VPN connections, or misconfigured network settings can prevent your browser from establishing a secure connection with a website. Temporarily disabling these services helps determine whether they’re causing the problem.
How to check
- Disconnect your VPN if one is active.
- Disable your proxy server through your network settings.
- Reload the website and check whether it opens normally.
If the page loads after disabling your VPN or proxy server, review your proxy settings or VPN configuration before enabling them again.
7. Disable browser extensions
If you have ruled out your network and security settings, a browser extension may be interfering with the website. Some extensions modify or block web requests, which can prevent pages from loading correctly.
Why this works
Some installed extensions change how websites load or filter web traffic. If one of them conflicts with the website, your browser may display the ERR_CONNECTION_CLOSED error. Disabling your extensions one at a time helps identify whether one of them is responsible.
How to do it
- Open Google Chrome and go to Settings > Extensions.
- Disable each extension one at a time.
- Reload the website after disabling each extension.
If the website loads after disabling an extension, you have found the cause. Remove the extension or update Chrome and the extension to the latest version before enabling your other extensions again.
How does ERR_CONNECTION_CLOSED differ from ERR_CONNECTION_RESET, ERR_CONNECTION_TIMED_OUT and ERR_CONNECTION_REFUSED?
Although these browser connection errors may appear related, each one signals a different type of connection failure. Knowing the difference can help you pinpoint the cause and choose the right troubleshooting steps instead of trying every possible solution.
The table below compares what each error means and the most common causes behind it.
| Error | What it means | Common causes |
|---|---|---|
| ERR_CONNECTION_CLOSED | The connection was established but closed before the website could finish sending data. | Browser issuesUnstable networkServer-side problemsAntivirus blockingVPN connectionsProxy settings |
| ERR_CONNECTION_RESET | The connection started successfully but was unexpectedly reset while data transfer was in progress. | Firewall interferenceSecurity softwareNetwork interruptionsServer configuration issues |
| ERR_CONNECTION_TIMED_OUT | Your browser waited too long for a response and eventually stopped trying to connect. | Slow internetAn overloaded serverDNS issuesNetwork congestion |
| ERR_CONNECTION_REFUSED | The website or server actively rejected the connection request before it could be established. | The server isn’t accepting connectionsThe service is offlineA firewall is blocking access |
Despite their differences, these errors often share similar troubleshooting steps. The same basic checks, such as your router, browser cache, DNS settings, installed extensions, and VPN connections, can resolve many browser-related connection errors. If the issue persists, the problem may be related to server-side issues or your internet service provider, which may require waiting for the website administrator or your ISP to resolve the issue.
What to do if the ERR_CONNECTION_CLOSED error does not go away
The ERR_CONNECTION_CLOSED error can usually be resolved by working through the troubleshooting steps in order. Begin with the simplest checks, including your internet connection, browser cache, and flushing DNS. If those do not resolve the issue, continue by reviewing your DNS server, proxy settings, firewall, VPN, and browser extensions. Each step helps rule out one of the most common causes of browser connection errors.
If you have worked through every troubleshooting step and the error persists, the problem may be caused by server-side problems or your internet service provider rather than your device. In that case, you may need to wait for the website administrator to restore the service or contact your ISP if you suspect a network issue.
Still seeing the ERR_CONNECTION_CLOSED error after trying these fixes? Share your questions or tell us which solution worked for you in the comments below.







