How to fix ERR_CONNECTION_REFUSED in Google Chrome

The error message ERR_CONNECTION_REFUSED in Google Chrome occurs when Google Chrome’s website is trying to communicate with refuses the connection. It seems that the error message ERR_CONNECTION_REFUSED is caused by a server problem, in other words, by the website you are trying to connect to.

This is quite possible, but the ERR_CONNECTION_REFUSED error message can also be caused by problems in Google Chrome at the user’s end. For example, think of incorrect network settings or incorrectly stored temporary files in the Chrome browser.

ERR_CONNECTION_REFUSED error chrome

ERR_CONNECTION_REFUSED in Google Chrome

Check the status of the website

Sometimes a website is not accessible. Think of maintenance or the wrong webserver setting. It is advisable to check if the website you are trying to connect to is actually accessible. You can see this via PingDom tools.

Clear DNS cache

Suppose the website you are trying to visit is reachable by others but not by you. In that case, there might be a problem with an incorrectly stored DNS cache on your computer or Mac.

Windows

When an IP address is converted to a domain name on your computer, cache (temporary files) are created. It is recommended that clearing this DNS cache in Windows solves the DNS server does not respond problem.

In the Windows search bar type: command prompt. Right-click on the Command Prompt result and choose Run as Administrator.

In the Command Prompt window type:

ipconfig /flushdns

You have now cleared the temporary DNS cache in Windows. Check that the ERR_CONNECTION_REFUSED error message has been resolved.

macOS

Press Command + Spacebar on your keyboard at the same time. In the Spotlight window type: Terminal. Open Terminal. In window type the following command and confirm with ENTER key.

sudo killall -HUP mDNSResponder

You have now cleared the temporary DNS cache in macOS. Check that the ERR_CONNECTION_REFUSED error message has been resolved.

Changing the DNS server

Sometimes a particular DNS server can block a connection to a website. If a website is blocked at the DNS level, then Google Chrome shows the ERR_CONNECTION_REFUSED error message. Here’s how to set up another temporary DNS server (Google Public DNS).

In the Windows search bar, type:

ncpa.cpl

Open the NCPA.cpl result.

You will now see your active Internet connections. If you are connected by cable to a network or the Internet right click on Ethernet. If you are connected via Wifi, choose Wifi or Wireless adapter. Next, select Properties from the menu.

Click on “Internet Protocol Version 4 (TCP/IPv4)” and click the Properties button.

Important: Make a note of your current DNS server settings. For example, make a screen print of the DNS settings so that you can restore them later if necessary!

Click on “Use the following DNS server addresses.” In the preferred DNS, enter 8.8.8.8. and in the Alternate DNS server, enter 8.8.4.4.

These are Google’s public DNS servers. These Google DNS servers are generally faster than your current internet provider’s DNS servers.

Click OK and restart your computer. Make a note of this website’s website address to return to if it still does not work.

Clearing Google Chrome temporary files.

If clearing the DNS cache files and setting up another public DNS server did not have the desired effect, you can remove the temporary files in Chrome. Clearing the temporary files in Chrome can erase and rebuild an incorrectly stored setting/files to prevent the ERR_CONNECTION_REFUSED in Google Chrome.

Open the Google Chrome browser. In the Google Chrome address bar, type: chrome://settings/privacy

Then click on the button: Clear Browse Data.

After that, click on the tab: Advanced and enable the following two browsing data. Make sure the period is set to All.

– Cookies and other site data
– Saved images and files

After that, click on the Clear Data button.

Restart Google Chrome and see if the error message ERR_CONNECTION_REFUSED is resolved.

Temporarily disable VPN or Proxy

Suppose you are using a proxy or a VPN to connect to the Internet. In that case, you need to temporarily disable this VPN. A VPN is a secure connection that works by connecting to a third-party server and the Internet through that server. If the server that the VPN connection is using blocks the connection to a specific website, then you will see the ERR_CONNECTION_REFUSED error message in the Google Chrome browser. To disable the VPN if you are using this and try to connect to the website again.

Security check in Google Chrome

A security check-in Google Chrome checks if there are any rogue extensions installed in the Chrome browser. Sometimes an extension installed in Google Chrome, such as an ad-blocker, can block a connection to a website. Therefore, it is recommended to run the security check and check per extension to block the connection to a website.

Open the Google Chrome browser. In the address bar type: chrome://settings/safetyCheck

Then click on the Check Now button. Once the security check is done Check if Google Chrome found any problems. If necessary, Google Chrome will automatically fix the problems.

To check if there are extension(s) installed in Google Chrome that denies connections, resulting in the ERR_CONNECTION_REFUSED error message perform the following.

Open the Google Chrome browser. In the address bar type: chrome://extensions

Check all extensions. If necessary, temporarily disable all extensions by clicking on the blue slider. The slider will turn gray, which means that the extension is still installed, but temporarily unchecked.

I hope the ERR_CONNECTION_REFUSED issue in Chrome has been resolved. Thank you for reading!

Leave a Comment

Your email address will not be published. Required fields are marked *