What is meant by ERR_CONNECTION_REFUSED Error?
The error code ERR_CONNECTION_REFUSED occurs when the connection to the web server from your Chrome browser has been refused. This can happen due to several reasons, including interference of the Windows Defender Firewall or a third-party security program, the network settings on your computer and more.
In some instances, Google synchronization can also lead to the generation of the error code in question. This happens when there is an inconsistency in your Google account synchronization that you are using on the web browser. In this article, we will take you through a number of different methods that you can use to get rid of the error code in question.
1. Restart Router
The first thing you should start off with when trying to troubleshoot the ERR_CONNECTION_REFUSED error code is to restart your router. This can often resolve any internet connection issues that you are facing on your network.
Routers have a local cache that stores specific information from your internet service provider or ISP. In some instances, this can get damaged which can cause certain underlying issues with your internet connection.
In such a scenario, to resolve the issue, you will have to clean the cache. This can be done by restarting your router. When you do so, the router will establish a new link to the ISP servers, resulting in a fresh connection for you to the servers.
You can restart your router by either pressing the dedicated Restart button found on the back of the router or simply unplugging the power supply. If the problem persists after you restart your router, move to the next method below.
2. Clear Browser Cache
Your web browser stores information about the websites you visit locally to make the process faster when you visit the website again. If you are encountering the issue on a specific website, it is possible the error code is due to the browser’s cache.
This can happen when the browser cache is either obsolete or damaged which leads to the connection refusal. In such a scenario, you resolve the issue by clearing your browser cache. Doing so will force the browser to create a new copy of the website’s data when you visit it.
Follow the instructions below to clear your browser cache:
- First, click on the three-dot menu in the top-right corner.
- From the drop-down menu, navigate to More tools > Clear browsing data.
- On the Clear browsing data dialog box, tick all of the checkboxes.
- Choose All time as the Time range.
- Finally, click on the Clear data button.
- Once you do that, visit the problematic site to see if the problem persists.
3. Disable Chrome Browser Extensions
In some scenarios, the ERR_CONNECTION_REFUSED error code can occur due to the third-party extensions that are installed on your Chrome browser. This can happen when the add-ons are interfering with the connection your browser is trying to establish with the web server.
In such a scenario, you can mitigate the issue by disabling the third-party extensions on your Chrome browser. If you have multiple extensions added to your browser, you can quickly check if the add-ons are causing the issue by visiting the website in Incognito mode.
Web browsers do not allow third-party add-ons in private mode by default, so you can visit the problematic site in a private window to see if the error occurs. In case the problem goes away, navigate to the Extensions page on your browser and start disabling the add-ons to find the culprit.
4. Turn off Google Sync
Another potential cause of the issue in question can be the Google sync on your account. An inconsistency with the Google synchronization can result in the ERR_CONNECTION_REFUSED error code.
If you are using a Google account on your Chrome browser and turned on browser synchronization, you will have to turn it off to see if that circumvents the issue for you. To do this, follow the instructions below:
- First, click on the three-dots menu in the top-right corner.
- Then, from the drop-down menu, choose the Settings option.
- There, navigate to the Sync and Google services option.
- Finally, click on the Turn off option next to your account name to stop the synchronization.
- Restart your browser and see if that resolves the issue.
5. Disable Third-Party Antivirus
Using a third-party security program is pretty common as they offer extended features and protect your system from any suspicious activity. Modern antivirus programs come with a safe browsing feature that manages your internet connection to keep you from visiting harmful websites.
However, in some scenarios, these programs can trigger a false positive which leads to the ERR_CONNECTION_REFUSED error code. This is typical behavior of modern antivirus programs, thanks to their advanced security mechanisms.
If you are using a third-party security program, we recommend turning it off temporarily to see if that resolves the issue. Once the antivirus program is off, try visiting the problematic website in your browser. In case the problem persists after disabling your security program, move to the next method below.
6. Disable Windows Defender Firewall
Windows Defender Firewall is a vital component of the operating system as it manages the inbound and outbound internet connections. In some scenarios, you can experience connectivity issues on your browser because the firewall is blocking the inbound or outbound connection.
To check if your firewall is blocking the connection, you can temporarily disable the Windows Defender Firewall on your computer to see if that resolves the issue. In case the problem goes away after you have disabled the firewall, you can whitelist the browser in your firewall settings to prevent the Windows Defender Firewall from blocking any connections from the browser.
Follow the instructions below to do this:
- First, open the Control Panel by searching for it in the Start Menu.
- On the Control Panel window, navigate to System and Security > Windows Defender Firewall.
- Then, click on the Turn Windows Defender Firewall on or off option on the left-hand side.
- Finally, choose the Turn off Windows Defender Firewall option for both Private and Public network settings. Click OK.
- Restart your browser and see if the problem persists.
- If the problem goes away, you will have to whitelist the browser on your firewall.
- To do this, navigate to the Windows Defender Firewall and click on the Allow an app or feature through Windows Defender Firewall option.
- There, click on the Change settings button at the top.
- After that, click on the Allow another app option.
- Click on the Browse button and navigate to the installation directory of your browser. Choose the browser executable file and click OK.
- Then, click on the Network types option and tick both the Public and Private checkboxes.
- Finally, click the Add button and hit OK.
- Make sure to enable your firewall at this point.
7. Flush DNS Cache
The local Domain Name System cache on your computer can also trigger the ERR_CONNECTION_REFUSED error code in your browser. A DNS server is used to resolve all of the domain names that you try to access on your web browser.
Your computer stores the addresses of your visited websites locally so that you can access them quickly on subsequent connections. However, in some cases, the cache can get damaged which can cause connectivity issues on your browser.
In such a scenario, you will have to flush the DNS cache. To do this, follow the instructions below:
- First, open the Start Menu and search for the Command Prompt. Click on the Run as administrator option.
- In the command prompt window, type in “ipconfig /flushdns” and hit the Enter key.
- After that, enter “ipconfig /registerdns” and hit Enter.
- Once you do that, restart your PC. See if that resolves the problem.
8. Change DNS Server
A DNS server is used to find the IP addresses of the web addresses you wish to visit. These IP addresses are important to establish a connection with the web servers on the internet. In some scenarios, the DNS server you are using can be experiencing issues which prevent it from performing the name resolution.
In such a scenario, you will have to change the DNS server on your computer to resolve the issue. The DNS server of your internet service provider is used on your computer by default. You can change it to use a public DNS server from Google or Cloudflare.
Follow the instructions below to do this:
- First, open the Start Menu and search for Network Connections. Open it up.
- On the Network Connections window, right-click on your network adapter and choose Properties from the drop-down menu.
- Then, scroll down and double-click on Internet Protocol Version 4 (TCP/IPv4).
- After that, choose the Use the following DNS server addresses option.
- If you want to use Google’s DNS server, enter the 126.96.36.199 and 188.8.131.52 addresses respectively. In the case of Cloudflare, enter 184.108.40.206 and 220.127.116.11 respectively.
- Finally, click OK and restart your browser.
- See if that fixes the issue.
9. Reset Network Settings
Finally, if none of the above methods has fixed the problem for you, the error code is likely caused by a misconfiguration or inconsistency in your network settings. In such a scenario, you will have to reset your network settings to resolve the issue.
Resetting the network settings on your computer will reinstall all of the network adapters and remove any VPN clients that you might have installed. In addition, all of the passwords of any connected WiFi networks will also be forgotten.
Follow the instructions below to reset network settings:
- First, open the Settings window by pressing the Windows key + I on your keyboard.
- In the Settings window, navigate to Network and internet > Advanced Network Settings.
- On the Advanced Network Settings page, click on the Network reset option.
- Finally, click on the Reset now button to reset your network settings.
- After your PC boots up, see if the error code is still there.