Chrome Localhost Refused To Connect on Windows 10 (FIXED)

By John Adebimitan

You haven’t made any changes to your computer recently, but you started your PC, connected to your network, and got the Localhost refused to connect error on your Chrome browser. You try other browsers to check if Chrome is the issue; Edge, Firefox, and even Internet Explorer all return the same error.

What could be wrong? And are there any ways around the Chrome Localhost Refused to connect issue on Windows 10? This article will share some interesting ideas.

Chrome Localhost Refused To Connect on Windows 10? Possible Causes

In some cases, you get the Localhost Refused to Connect on Chrome issue when your DNS isn’t pointing to the localhost address,

We have seen many users make this mistake, resulting in issues with Chrome. Another possible issue will be the clashing of firewalls and drivers on your machine. In some cases, installing and updating the correct network drivers helps to fix the issue.

In a few cases, IP connectivity is less of an issue, as the Localhost is clearly refusing a connection that exists, so our problem-solving wouldn’t have a lot to do with the server.

For the everyday user, if no other browsers on your machine are working, the probable culprit will be the network, so check the network status on your computer and other connected devices.

Chrome Localhost Refused To Connect on Windows 10 – Fixes

Fix 1. Restart the router

If you’re dealing with this, you might check other connected devices to see if they are having the same issues. In a few situations, turning OFF the router >> unplugging from the power source >> leaving for 30 seconds >> and then restarting has fixed many browser-related issues.

Fix 2. Clear browser data

Browser data like the history of visited websites, cookies, and static content are continually saved so that web pages are loaded quicker the next time you try to access them. If this data is outdated, it could cause issues in your browser.

Clearing browser data has been found as a very effective way to fix the Localhost Refused to Connect error. Just click here if you’d like to try to clear some Chrome browser data.

Fix 3. Disable Firewall and antivirus

Firewalls and Antivirus software sometimes block malicious-looking web pages, they also filter traffic, and while these are important to your computer, they sometimes block pages you don’t want them to.

If you are working on a project and you need to access a locally hosted website, we recommend disabling both the firewall and antivirus while you call up the project. If the project is accessible now, you just need to whitelist the said project on your antivirus and firewall.

Fix 4. Change the Port number

Changing the port number has fixed the Localhost Refused to Connect for many who are using Visual Studio on Windows 10. To change the port number, go to Project Properties >> Web >> Servers >> Project URL.

This has worked for many as we noticed they are experiencing a conflict with that specific port number being used, and the site goes back up as soon as the port number changes.

Read also: Throttlestop CPU Not Supported – Working Fixes

Fix 5: Disable Chrome network extension

While not very common. The Chrome extension that controls networking may be having issues. Try disabling it and testing to see if things normalize. If it doesn’t work, you might need to have it re-enabled.

Fix 6: Update SSL certificate

As simple as this may look, an invalid SSL certificate may be the reason why you’re getting the Chrome Localhost Refused to Connect on Windows 10 error. If your Localhost domains are HTTP, you should check if the SSL certificates are still active; if not, renew and re-add them to the keychain.

Fix 7. Correct Apache syntax errors

Apache syntax errors could actually be a culprit in very rare cases; hence we leaving it down the list of things to check out if your Localhost isn’t connecting. Try running HTTPd –t to check syntax. We also recommend having the domain showing in the vhosts HTTPd –t –D DUMP_VHOSTS.

Fix 8. Reinstall Windows 10

If none of these fixes this for you, a complete deletion and reinstall of Windows 10 might be the way to go. We have tried to mention all possible culprits, but if you can’t place a finger on what could be wrong. Reinstalling the operating system will overhaul all settings and let you start anew.

About The Author