Home / Guides

ERR_CONNECTION_REFUSED: how to fix it

ERR_CONNECTION_REFUSED means a server turned your connection away. Learn why it happens on websites and on localhost, and how to fix it.

In short: the server at that address turned your connection away, usually because nothing is running there or a proxy or firewall is in the way. Run our troubleshooter to test your connection.

What it means

Your browser reached a device at the right address, but it refused the connection. For public websites, that usually means a server problem or a wrong address. For addresses like localhost or 192.168.x.x, it usually means the app or device you're trying to reach isn't running or isn't listening on that port.

Common causes

  • The website's server is down or misconfigured.
  • A wrong address or port number.
  • A proxy setting on your device that no longer works.
  • On your own network: the app, camera, or router page isn't running.

How to fix it

  1. Check whether the site is down for everyone with our status checker.
  2. Check the address and port. For a router or device, see how to find the right address.
  3. Turn off any proxy in your system or browser network settings.
  4. Turn off your VPN, proxy, or ad-blocking extension for a moment and try again.
  5. Clear your browser's cache and try again.

Still stuck? Our "Fix my internet" troubleshooter measures your connection and suggests the next step.

Last updated October 2026.

Related guides

See all guides