You click a link and Chrome shows This site can't be reached with the code ERR_CONNECTION_REFUSED underneath. Microsoft Edge and other browsers built on Chromium show the same code. The good news: it is usually fixable in a few minutes, or it is the website's problem and not yours at all.
What ERR_CONNECTION_REFUSED means
Google's own explanation is short: the page didn't let Chrome connect, or the page is blocked.1 In other words, your browser reached out, but the connection was turned away or stopped before the page could load. Chrome doesn't tell you what did the blocking.9
The cause can be on either side:
- The website's side: the site may be down, or its server or firewall may be refusing connections.9
- Your side: your router, a proxy or VPN, a firewall or antivirus program, a browser extension or old browser data can all block the connection.2,9,10
So the first job is to work out which side the problem is on.
Step 1: Check whether the site is down for everyone
Check the address for typing mistakes, then select Reload this page.2
Try another device on the same network, such as your phone on Wi-Fi. Google says that if no device can load the page, the site may be down.3
Try a different network, for example your phone on mobile data instead of Wi-Fi.9
Use a "down for everyone or just me" checker, a free website that tells you whether others can reach the site.10
If the site fails everywhere, there is nothing to fix on your computer. Wait and try later. If it's your own website, contact your hosting company: refused connections can come from hosting problems or from the server's firewall blocking visitors.9 Sites behind Cloudflare show a similar fault as Error 521, which means the site's own server refused Cloudflare's connection, and only the site owner or host can fix it.8
If the site works on other devices or networks, carry on with the fixes below.
Step 2: Restart your connection
Check that your Wi-Fi or Ethernet connection is working, and restart your modem and router.2 Unplug the router, wait about 30 seconds, then plug it back in.10 If other sites are also failing, follow our guide to Wi-Fi that's connected but has no internet.
Step 3: Fix the browser
Google recommends working through these in order:2
Update and restart Chrome. On Windows, close Chrome or use More (three dots) > Exit; on a Mac, choose Chrome > Quit Google Chrome. Then open it again.2
Try an Incognito window. If the site loads there, an extension or stored browser data is the likely cause.2
Turn off extensions, then turn them back on one at a time to find the one causing trouble.2
Delete cookies and cached files. Select More > Delete browsing data, choose a time range, tick Cookies and other site data and Cached images and files, then select Delete data.4 Our guide to clearing cache and cookies covers other browsers too.
Step 4: Switch off a proxy or VPN
A proxy or VPN sends your traffic through another server, and if that server is broken or blocked, sites can refuse to connect.9 Turn off your VPN app and try again.
On Windows 11 and 10, proxy settings are in Settings > Network & internet > Proxy. Under Manual proxy setup, check whether Use a proxy server is switched on; if you didn't set it up on purpose, turn it off and save.5 In Firefox, go to Settings > Privacy and security > Proxy settings, select Settings… and choose No proxy.6
Unexpected proxy settings
If you find a proxy you never set up, it may have been added by unwanted software. Run a full scan with your security software, and don't install "fixer" tools from pop-up adverts.
Step 5: Check your firewall and antivirus
Security software can block Chrome from reaching websites. On Windows, check Windows Security > Firewall & network protection; on a Mac, check the Firewall settings.2 Mozilla notes that some security programs can block internet access even when they are switched off, so updating or reinstalling them may be needed.7
Step 6: Clear the DNS cache
Your computer keeps a list of website addresses it has looked up. If that list is out of date, flushing it can help.10
- Windows: open Command Prompt and type
ipconfig /flushdns, then press Enter.10 - Mac: open Terminal and type
sudo killall -HUP mDNSResponder, then enter your password.10
If you are a developer: localhost refused to connect
If the error appears for localhost or 127.0.0.1, it means the server on your own computer rejected the connection. Usually the local server isn't running, another program is using the port, or a firewall is blocking it. Start or restart the server, try 127.0.0.1 instead of localhost, or try a different port such as 8080.11
When to get help
If nothing works and the site loads on other devices, reset Chrome's settings and, as a last resort, reinstall it.2 If many sites fail with different errors, the problem is likely your network or provider; contact your internet provider. Related errors have their own fixes: see ERR_CONNECTION_TIMED_OUT, DNS_PROBE_FINISHED_NXDOMAIN and our guide to website error codes.
Common questions
Is ERR_CONNECTION_REFUSED my fault?
Not necessarily. It can be caused by the website or its host as well as by your own setup.9,10 Testing on another device and network tells you which.3
What does Firefox show instead?
Firefox shows its own messages, such as "Unable to connect" or "Server not found", and Mozilla's troubleshooting steps are similar: check the connection, proxy settings and security software.6,7
Can a VPN cause ERR_CONNECTION_REFUSED?
Yes. Disabling your VPN and proxy settings is one of the standard fixes.9
