Skip to content
RU

"The Connection Was Reset" in Firefox: Causes and Fixes

What it means: Firefox's connection was cut by a TCP reset, or the server closed it before sending any data.

  1. Retry on another network or mobile data
  2. Check Firefox's proxy in Network Settings
  3. Pause VPN and antivirus web scanning
  4. Owner: test the server with curl -v

Test your URL now

Pings your host from our server, so you see whether it answers from outside your network.

Check your host & ports →

What "The connection was reset" means in Firefox

The page title is «Problem loading page» and the heading is The connection was reset (netReset-title in Firefox's certError.ftl). Under it Firefox lists generic advice: the site could be temporarily unavailable, check your network connection, and make sure Firefox is permitted to access the web if a firewall or proxy protects your computer.

Firefox shows this page for the internal error NS_ERROR_NET_RESET (nsDocShell.cpp). Its socket layer produces that code in two situations: a real TCP reset (PR_CONNECT_RESET_ERROR) and an unexpected end of stream (PR_END_OF_FILE_ERROR), which Firefox treats «the same as reset» (nsSocketTransport2.cpp). So in Firefox this one message covers what Chrome splits into ERR_CONNECTION_RESET and ERR_EMPTY_RESPONSE.

One more case lands here: in current Firefox, NS_ERROR_OS_LOCAL_NETWORK_ACCESS_DENIED is temporarily grouped with netReset, so on macOS a page on your own LAN (router, NAS, a dev server on another machine) can show «The connection was reset» when the operating system denies Firefox local network access.

Causes

CauseHow to recognise itWhat to do
Network filter or ISP blocking the host nameFails on one network, works on mobile data or a VPNUse another network; report the block to that network's admin
Wrong or dead proxy in FirefoxOther browsers work, Firefox fails on every siteSettings, General, Network Settings: pick the right option
Antivirus HTTPS scanning or a VPN clientFails on one computer only, across browsers or just FirefoxPause web scanning or the VPN and retry
Server closes before replyingFails for everyone; curl shows «Empty reply from server»Check crashing workers and proxy timeouts
Server or firewall sends RSTFails for everyone; curl shows «Connection reset by peer»Check firewall tcp-reset rules and fail2ban
macOS local network permissionOnly LAN addresses fail, public sites workAllow Firefox under Privacy & Security, Local Network

The fastest split is «who else sees it». One browser: a Firefox setting or extension. One computer: security software, VPN or proxy on that machine. One network: that network or its ISP. Everyone: the server.

Firefox-specific checks

  1. Proxy. Open Settings, scroll to Network Settings and click Settings. If «Manual proxy configuration» or an automatic configuration URL is set and you do not need it, choose «Use system proxy settings» or «No proxy» and reload. A proxy that is down usually gives «The proxy server is refusing connections» instead, but a filtering proxy can reset individual sites.
  2. Extensions. Restart in Troubleshoot Mode (Help, Troubleshoot Mode) to start without extensions. If the site loads, re-enable extensions one by one.
  3. Secure DNS. Firefox can resolve names over HTTPS. If your resolver hands out a wrong address for the site, toggling DNS over HTTPS in Settings, Privacy & Security changes which address Firefox connects to.
  4. A stale address. When a fresh connection is reset before any data was sent, Firefox marks that address as unusable for the retry, so a host with several addresses may recover on its own; after fixing DNS, a hard reload (Ctrl+F5) after fixing DNS avoids reusing an old connection.

If you own the site

  1. Reproduce without Firefox, from outside your own network:
    curl -v https://example.com/ -o /dev/null
    # * Recv failure: Connection reset by peer   -> an RST
    # * Empty reply from server                  -> closed with no data
  2. An empty reply means the server process gave up. Look for crashed or killed workers and for a proxy whose upstream closed early:
    dmesg -T | grep -i 'killed process'
    grep -i 'prematurely closed\|reset by peer' /var/log/nginx/error.log | tail
  3. A reset can come from the firewall. Rules that answer with a reset, and bans added by fail2ban, look exactly like this to a visitor:
    iptables -S | grep -i reset
    fail2ban-client status
  4. Check the port is open from outside. If the port answers on the server but not from the Internet, the reset is in the path, not in your stack. Steps for Chrome visitors are on the ERR_CONNECTION_RESET guide.

How to confirm the fix

curl -sS -o /dev/null -w '%{http_code}\n' https://example.com/
# 200

Run it from the network that failed, then reload in Firefox with Ctrl+F5. To check that the host answers and the port is open from outside your network, use the ping and port checker.

Related errors

ICMP PingHost availability and latency
Port ScannerOpen TCP port detection
LatencyResponse time in milliseconds
Packet LossPercentage of dropped packets

Why teams trust us

ICMP+TCP
check protocols
14
key ports scanned
3,184
checks in 30 days
3
regions

How it works

1

Enter IP or domain

2

ICMP packets sent

3

Latency & packet loss shown

How Do Ping and Port Scanning Work?

Ping sends ICMP packets to a host and measures response time. Port scanning checks which TCP ports are open and accepting connections — helping diagnose serviceavailability issues.

Configurable Ping

Choose packet count (3, 4, 6, 10). Stats: min/avg/max latency and packet loss.

Common Port Scanner

Check 14 key ports: HTTP, HTTPS, SSH, FTP, SMTP, MySQL, PostgreSQL, and more.

Cloud-Based Check

Testing from our server — see site availability from outside, not just your local network.

Uptime Monitoring

Need constant monitoring? Create a monitor — checks every minute with notifications.

Who uses this

DevOps

availability diagnosis

Network engineers

TCP port scanning

Developers

connection debugging

SRE

basic health check

Common Mistakes

ICMP blocked = server is downMany servers block ICMP. Ping fails but site works — check ports instead.
High ping = server problemLatency depends on geography. 150ms between continents is normal, not an error.
Closed ports — cause for alarmClosed ports of unused services are good. Unnecessary open ports are a risk.
One check = sufficientNetworks are unstable. A single timeout ≠ a problem. Check multiple times or set up monitoring.

Best Practices

Combine ping and port checksPing shows host availability, ports show specific service availability. Use both.
Check from different locationsThe problem may be local. A cloud test shows the real picture.
Close unused portsEvery open port is a potential attack vector. Keep only necessary ports open.
Set up monitoringManual checks do not scale. Set up automated monitoring with notifications.

Get more with a free account

Ping check history, host availability monitoring and downtime alerts.

Sign up free

Learn more

Sources

Frequently Asked Questions

Why does a site show The connection was reset in Firefox but work in Chrome?

Usually a Firefox setting: a manual proxy, an extension or DNS over HTTPS returning a different address. Try Troubleshoot Mode and No proxy first.

Is The connection was reset the same as ERR_CONNECTION_RESET?

Mostly. Firefox uses it for a TCP reset and also for a server that closes before sending data, which Chrome reports as ERR_EMPTY_RESPONSE.

Why do only my router and NAS pages show this error on a Mac?

Recent Firefox groups a denied macOS local network permission with this page. Allow Firefox under System Settings, Privacy & Security, Local Network.

Can my ISP cause The connection was reset?

Yes. Filters that read the host name in the TLS handshake can reset the connection. If the site opens over a VPN or mobile data, that is the likely cause.

Try the live tool that powered this guide

Free plan — 10 monitors, checks every 5 min, no card required. Upgrade for 1-minute interval and multi-region monitoring.