What the Error Means
Chrome and other Chromium-based browsers show ERR_CONNECTION_RESET with the message that the connection was reset. Unlike ERR_CONNECTION_REFUSED, the connection was accepted first; something then ended it abruptly with a reset packet. That something can be the web server, a firewall, a proxy, or a VPN anywhere on the path.
If You See It on Someone Else's Site
- Try another network: if the site loads on mobile data, a filter on your usual network resets the connection.
- Turn off a VPN or proxy for one test: both can end connections they do not like.
- Pause security software that inspects HTTPS, and try a private window to rule out extensions.
- Tell the site owner if it fails everywhere.
Who Sees It?
On your own server, narrow it down first. One visitor only points to that visitor's network or software. One country or network points to a filter on the path. Every visitor, every time, points to your server. Large uploads or downloads only point to MTU or timeouts. Test from the server and from outside:
curl -I http://127.0.0.1/
curl -v https://example.com/
curl reports a receive failure with "Connection reset by peer" when it gets the reset.
Read the Server Logs
sudo tail -n 50 /var/log/nginx/error.log
sudo journalctl -k --since "1 hour ago"
The web server log shows failed handshakes and connections closed by an upstream application. The kernel log shows firewall messages if your rules log what they reject. To see resets on the wire, capture them on the public interface (replace eth0 with yours from ip -br link):
sudo tcpdump -ni eth0 'tcp port 443 and tcp[tcpflags] & tcp-rst != 0'
A reset sent from your server's address means your side ended the connection.
Firewalls That Send Resets
An iptables or nftables rule that rejects with a TCP reset, a connection limit, or an intrusion prevention tool can cut off visitors who make many connections at once. Review your rules with sudo nft list ruleset or sudo iptables -S, and check Fail2ban with sudo fail2ban-client status. Keep your SSH rule in place while you change anything, test from a second SSH session, and loosen the one rule that matches instead of turning the firewall off.
TLS Misconfiguration
A server that drops the connection during the handshake can show as a reset instead of a TLS error: a missing certificate for the requested name, a default server block that rejects unknown names, or no protocol in common with the client. Test with openssl s_client -connect example.com:443 -servername example.com and compare with ERR_SSL_PROTOCOL_ERROR, which covers the same settings.
MTU Problems
When a link on the path carries smaller packets than the ends expect and the messages that report it are blocked, small requests work while large pages or uploads stall or reset. VPNs and tunnels cause this most often. From a Linux machine, test whether a full-size packet passes without fragmenting:
ping -c 3 -M do -s 1472 203.0.113.10
tracepath 203.0.113.10
1472 bytes of data plus 28 bytes of headers make a 1500-byte packet. If that fails while smaller sizes work, lower the MTU on the tunnel interface, and do not block ICMP entirely in the firewall.
Keepalive and Timeouts
Behind a proxy or load balancer, each hop keeps idle connections open for a while. If a backend closes an idle connection at the moment the proxy reuses it, the request fails. Keep the backend's idle timeout longer than the proxy's. Long requests can also be cut off by a proxy's own timeout; see error 524 for finding slow requests.
Confirm the Fix
for i in $(seq 1 20); do curl -s -o /dev/null -w '%{http_code}\n' https://example.com/; done | sort | uniq -c
Expect only 200. A line with 000 means curl got no status code at all, for example because the connection was reset. Every status code is explained in HTTP status codes explained.