← All error fixes

ERR_CONNECTION_REFUSED: what it means and how to fix it

Updated 17 November 2026

This site can't be reached
example.com refused to connect.
ERR_CONNECTION_REFUSED

What it means: your browser reached the website's server, but the server said "no" to the connection.

Usually the website is down or being worked on, so all you can do is wait. Sometimes a setting on your device, like a proxy, VPN or security app, is getting in the way, and that's quick to fix.

Don't worry: you haven't broken anything.

Step 1: Is it the website or you?

Type the website that won't load. We'll try it from our server, away from your device and Wi-Fi.

It says "It's down"

The website is refusing everyone, not just you. It's probably being fixed or restarted. Try again later.

It says "It's up"

The website lets us in, so something on your side is being turned away. Try the fixes below.

Step 2: Try these easy fixes first

Try them in order and reload the page after each one.

  1. Check the address Easy · 10 secondsMake sure it's spelled right, and try it with https:// at the start instead of http:// (or the other way round).
  2. Try a private window Easy · 30 secondsOpen a private (incognito) window and visit the site. If it works there, an extension or saved data is the cause.
  3. Turn off your VPN or proxy app Easy · 1 minuteSwitch it off and try again.
  4. Restart your Wi-Fi router Easy · 2 minutesUnplug it, count to 30, and plug it back in.
  5. Try mobile data Easy · 1 minuteIf the site works on mobile data, your Wi-Fi network is being refused. Restarting the router usually helps.

Step 3: Still not working? Pick your device

Fix it on Windows

  1. Turn off any proxy in Settings › Network & internet › Proxy: make sure Use a proxy server is off.
  2. Clear the browser's saved data for the site. In Chrome, click the icon to the left of the address, then Site settings › Delete data.
Advanced fixes for Windows
  1. Clear your PC's saved website addresses (flush the DNS cache). In an administrator Command Prompt: ipconfig /flushdns
  2. Check Windows Firewall or your antivirus isn't blocking your browser: Windows Security › Firewall & network protection › Allow an app through firewall.

Fix it on a Mac

  1. Turn off any proxy in System Settings › Network › Wi-Fi › Details › Proxies.
  2. Restart your Mac.
Advanced fixes for Mac
  1. Clear your Mac's saved website addresses (flush the DNS cache): sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Fix it on Android (including Samsung)

  1. Turn Airplane mode on, wait 10 seconds, then turn it off.
  2. Clear the browser's cache. For Chrome: Settings › Apps › Chrome › Storage › Clear cache. For Samsung Internet, do the same under Samsung Internet.
  3. Check your Wi-Fi proxy is set to None (tap your network › Advanced or Proxy).
Advanced fixes for Android
  1. Check Private DNS in Settings › Network & internet › Private DNS (Samsung: Connections › More connection settings) and set it to Automatic.
  2. Turn off ad-blocking or "secure Wi-Fi" apps for a moment. Some of them filter connections.

Fix it on iPhone and iPad

  1. Turn Airplane mode on and off.
  2. Turn off any VPN in Settings › General › VPN & Device Management.
  3. Clear Safari's data in Settings › Apps › Safari › Clear History and Website Data (on older iOS, Settings › Safari).

Why does this happen?

A refused connection means the website's server got your request and turned it down straight away. That can happen because:

Common questions

What does ERR_CONNECTION_REFUSED mean?

It means the website's server received your browser's request and refused it. Usually the website is down or under maintenance, but a proxy, VPN or firewall on your device can also cause it.

What is error -102?

Error -102 is Chrome's number for ERR_CONNECTION_REFUSED. It means the same thing, and the same fixes apply.

Why does it happen on my phone only?

Your phone may have a VPN, ad blocker, Private DNS or proxy setting that your computer doesn't. Turn them off one at a time, or try mobile data instead of Wi-Fi.

Will it fix itself?

If the website is down for maintenance, yes: it usually comes back within minutes or hours. If it only fails for you, it won't fix itself until you change the setting that's blocking it.

Seeing it on localhost or your own website?

On localhost, it means nothing is running on that port: start your development server and check the port number. On a live site, check that the web server (Apache, Nginx and so on) is running and listening on ports 80 and 443, and that the server's firewall allows them.

Related help

Got another site that won't load?

Check any website