Chrome: This site can’t be reached — example.com unexpectedly closed the connection. ERR_CONNECTION_CLOSED
The server closed the connection before finishing the TLS handshake or sending a response — typical for HTTP/HTTPS port mix-ups, strict firewalls and crashing servers.
unexpectedly closed the connection Meaning
Compared with "connection reset" (an abrupt RST), "closed" means a clean close during setup. Frequent causes are requesting https:// from a port that serves plain HTTP (or the reverse), a server that only supports newer TLS, a WAF dropping unknown clients, and antivirus HTTPS scanning.
Common causes
- Using https:// on a port that serves only HTTP (or http:// on an HTTPS-only port)
- TLS version/cipher mismatch rejected by the server
- Firewall/WAF closing connections silently
- Antivirus or VPN interfering with TLS
- Server overloaded or crashed
⚡ Quick fix
- Check the URL scheme and port
- Test with
curl -vto see where it closes - Try without VPN/antivirus web protection
Detailed fix by platform
Linux
curl -v https://example.comandopenssl s_client -connect example.com:443 -servername example.comshow the handshake
Windows
- Temporarily disable "HTTPS scanning" in your antivirus; run
netsh winsock reset
How to diagnose
- URL — Right scheme and port?
- Handshake — Where does openssl s_client stop?
- Software — Antivirus/VPN involved?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Browser
- ERR_CONNECTION_TIMED_OUT ERR_CONNECTION_TIMED_OUT: This site can’t be reached — example.com took too long to respond
- ERR_CACHE_MISS ERR_CACHE_MISS: Confirm Form Resubmission
- net::ERR_CONTENT_LENGTH_MISMATCH Chrome DevTools: net::ERR_CONTENT_LENGTH_MISMATCH — body shorter than the Content-Length header
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 15 Oct 2026