ERR_CONNECTION_REFUSED: what it means and how to fix it
Updated 17 November 2026
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.
The website is refusing everyone, not just you. It's probably being fixed or restarted. Try again later.
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.
- Check the address Easy · 10 secondsMake sure it's spelled right, and try it with
https://at the start instead ofhttp://(or the other way round). - 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.
- Turn off your VPN or proxy app Easy · 1 minuteSwitch it off and try again.
- Restart your Wi-Fi router Easy · 2 minutesUnplug it, count to 30, and plug it back in.
- 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
- Turn off any proxy in Settings › Network & internet › Proxy: make sure Use a proxy server is off.
- 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
- Clear your PC's saved website addresses (flush the DNS cache). In an administrator Command Prompt:
ipconfig /flushdns - 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
- Turn off any proxy in System Settings › Network › Wi-Fi › Details › Proxies.
- Restart your Mac.
Advanced fixes for Mac
- Clear your Mac's saved website addresses (flush the DNS cache):
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Fix it on Android (including Samsung)
- Turn Airplane mode on, wait 10 seconds, then turn it off.
- Clear the browser's cache. For Chrome: Settings › Apps › Chrome › Storage › Clear cache. For Samsung Internet, do the same under Samsung Internet.
- Check your Wi-Fi proxy is set to None (tap your network › Advanced or Proxy).
Advanced fixes for Android
- Check Private DNS in Settings › Network & internet › Private DNS (Samsung: Connections › More connection settings) and set it to Automatic.
- Turn off ad-blocking or "secure Wi-Fi" apps for a moment. Some of them filter connections.
Fix it on iPhone and iPad
- Turn Airplane mode on and off.
- Turn off any VPN in Settings › General › VPN & Device Management.
- 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:
- The website is down, restarting or under maintenance.
- The server is blocking your network, sometimes after too many visits from your connection.
- A proxy, VPN or firewall on your device is pointing your browser to the wrong place or blocking it.
- The wrong address or port, for example
http://when the site only works onhttps://.
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