ERR_CONNECTION_REFUSED

How to Fix “ERR_CONNECTION_REFUSED”

Connection Error 📄 Chrome, Edge, Brave
⚡ Quick answer

ERR_CONNECTION_REFUSED means the website's server actively rejected your connection. Unlike a timeout, the server responded — but said "no." This is usually caused by the server being down, a firewall blocking your IP, or a misconfigured port.

First, check if your internet is working and what your current IP address is:

🔍 Check My IP Address →

What Causes the “ERR_CONNECTION_REFUSED” Error?

When your browser connects to a web server it sends a SYN packet to initiate a TCP connection. ERR_CONNECTION_REFUSED means the server sent back a RST (reset) packet — an active rejection. This is different from a timeout where there is no response at all. The server knows you tried to connect but refused to accept it. Causes include: the web server software (Apache/Nginx) is not running, a firewall is blocking your specific IP, the server is running on a different port, the site is under maintenance, or your own firewall is interfering.

How to Fix It — 5 Methods

1 Check if the site is down

Visit downforeveryoneorjustme.com and enter the URL. If it is down globally, the server is the problem — wait and try later.

2 Clear browser cache and cookies

A cached bad response can cause persistent refusals.

  1. Press Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac)
  2. Select "All time" for time range
  3. Check "Cached images and files" and "Cookies and other site data"
  4. Click "Clear data" and try again
3 Disable your firewall and antivirus temporarily

Your local firewall may be sending a RST packet before the connection reaches the server.

  1. Temporarily disable Windows Defender Firewall
  2. Pause your antivirus
  3. Try loading the site
  4. If it works, add the site to your whitelist and re-enable protection
4 Check and disable proxy settings

A misconfigured proxy causes ERR_CONNECTION_REFUSED for all sites.

  1. Chrome: Settings → System → Open proxy settings
  2. Windows: Settings → Network → Proxy → turn off "Use a proxy server"
  3. Mac: System Settings → Network → Proxies → uncheck all proxies
5 Try a VPN — your IP may be blocked

If a server has blocked your IP address, a VPN gives you a different IP and bypasses the block.

  1. Connect to PureVPN or IPVanish
  2. Try loading the site
  3. If it works, your original IP was blocked by the server
🔒
Some errors are caused by ISP blocks or network restrictions
A VPN bypasses them instantly by routing through a different server.

Fixed it? Visit tools.examineip.com to confirm your IP address and connection are working correctly.

Frequently Asked Questions

What is the difference between ERR_CONNECTION_REFUSED and ERR_CONNECTION_TIMED_OUT?
Refused means the server actively rejected your connection with a reset packet. Timed out means the server never responded at all within the time limit. Refused is usually a firewall or server configuration issue. Timed out is usually a server availability or network routing issue.
Can ERR_CONNECTION_REFUSED happen if my IP is banned?
Yes. If a server has banned your IP address it will refuse connections from it. Using a VPN changes your IP address and typically resolves this.
Why does ERR_CONNECTION_REFUSED happen on localhost?
On localhost (127.0.0.1) this error means no server is running on the port you tried to connect to. Start your local development server (Node, Apache, Nginx, etc.) and try again.

Learn More About IP Addresses & Privacy

Other Internet Errors Explained

← Back to the complete guide: Internet Errors Hub

Last updated: March 30, 2026 • Report an error

Scroll to Top