Think Like a Computer
No ads, no affiliate links, no software recommendations you did not ask for.

ERR_CONNECTION_RESET: Tracing a TCP Reset on Windows

ERR_CONNECTION_RESET means something on the path or the server sent a TCP RST. How to separate security software, proxy, MTU, filtering and server causes.

ERR_CONNECTION_RESET is a browser message reporting that the TCP connection was closed by a reset packet rather than by an orderly shutdown. A reset, carried in a TCP segment with the RST flag set, tells the client that the endpoint or something in the middle has abandoned the connection immediately. The browser was in the middle of a request when this arrived, so the page stops loading and the error appears. Nothing about the message identifies which device sent the reset; that has to be worked out by elimination.

A reset is different from a timeout. A timeout means no answer came back within the wait period. A reset means an answer came back that explicitly refused to continue. That distinction narrows the search: the packets are reaching something that is choosing to end the conversation, or a device on the path is injecting the reset.

What a TCP reset actually signals

When a host receives a segment it cannot associate with an open connection, or receives data on a connection it has already torn down, the TCP stack responds with RST. Middleboxes do the same when a policy blocks a flow: a firewall, an intrusion prevention system, or a content filter can send a reset to both sides so the connection dies without either endpoint knowing why. The reset therefore has three broad origins: the remote server, a device on the local network or the path, or software on the local machine intercepting the traffic.

Because HTTPS payloads are encrypted, an inspecting device cannot see the request. It can still see the destination, the port, and the TLS handshake, and it can reset based on those. This is why a reset often appears on one site and not another, or on one network and not another.

Separating a local cause from a path cause

The first test costs nothing and removes half the possibilities. Open the same address in a second browser on the same machine. If the second browser also fails with a reset, the cause is below the browser: the operating system, local security software, a proxy, or the network. If only one browser fails, the problem sits in that browser’s configuration or extensions, and the network is not implicated.

The second test moves the machine. Connect the same computer to a different network, such as a phone hotspot, and retry. A reset that disappears on the hotspot points to the original network, its router, or its filtering. A reset that follows the machine points to the machine itself.

A third test moves away from the machine entirely. If another device on the same network reaches the site without a reset, the network path is probably fine and the fault is local to the failing computer.

Reading the exchange with curl

A browser hides the details. A command-line client shows the connection stages and where it stops. The curl tool ships with current Windows builds and reports each phase separately.

curl -v https://example.com

The verbose output lists the DNS lookup, the TCP connect, the TLS handshake, and the HTTP exchange in order. If the reset occurs during the TCP connect, the destination or a device before it is refusing the flow. If the connect succeeds and the reset arrives during the TLS handshake, an inspecting device is the likely source, because that is the point where it can no longer read the traffic. If the handshake completes and the reset arrives while the response is being read, the server or a device close to it is ending the connection.

curl -v --http1.1 https://example.com

Forcing HTTP/1.1 removes HTTP/2 negotiation from the picture. A reset that appears only with HTTP/2 and disappears with HTTP/1.1 points at a device that mishandles the newer protocol.

curl -v http://example.com

Plain HTTP removes TLS entirely. A reset on HTTPS but not on HTTP is strong evidence of interception, because the only difference is the encrypted handshake.

Security software that inspects HTTPS

Endpoint security products that scan encrypted traffic work by inserting themselves into the TLS handshake. They present their own certificate to the browser and open a separate connection to the server. When the product decides a connection should not continue, it resets it. The browser reports ERR_CONNECTION_RESET and the user sees nothing about the scanner.

The test is to disable the HTTPS scanning feature of the security product temporarily, not the whole product, and retry. If the reset stops, the scanner is the cause and the fix belongs in its exclusion list or its configuration. Removing the product entirely is a last resort and should be done through its own uninstaller, not by deleting files.

Proxies, VPNs and the local network path

A proxy configured in Windows or in the browser forwards requests on the user’s behalf. If the proxy is unreachable, misconfigured, or filtering, it can reset connections. Check the system proxy settings under Settings, Network & Internet, Proxy, and compare them with what the browser is using. A VPN client routes traffic through a tunnel; if the tunnel drops or the VPN provider filters, resets appear. Disconnecting the VPN and retrying separates the tunnel from the underlying network.

On a managed network, a content filter or captive portal can reset connections to destinations it does not permit. This is common on corporate and school networks and cannot be fixed from the client. The reader should confirm with the network administrator whether the destination is allowed.

MTU and fragmentation

A path that cannot carry a full-size packet will drop it, and some devices respond to the resulting confusion with a reset. Symptoms that vary with packet size, or that appear only on some sites, can point here. The mechanism and the tests belong on the MTU and fragmentation page rather than being repeated here; the short version is that the maximum transmission unit on the path is smaller than the local interface assumes, and the fix is to lower it or correct the path MTU discovery.

When the server or the carrier owns the fault

The reset can originate at the remote server. A server under load, a load balancer with a misconfigured timeout, or an application that closes connections abruptly will produce resets that no client change can fix. The test is to reach the same service from a different network and a different machine. If the reset follows the destination rather than the client, the fault is at the server or on the path to it, and the reader’s options are to wait, to report it to the site’s operator, or to use an alternative service.

Carrier-grade NAT and ISP filtering are the other cases the reader cannot repair. A mobile or satellite connection that places many subscribers behind one address can reset connections that the carrier’s equipment does not expect. An ISP that filters a destination will reset it regardless of client configuration. In both cases the equipment belongs to the carrier or the ISP, and the correct action is to report the symptom with the destination, the time, and the curl output, not to change local settings.

Which cause fits which symptom

SymptomLikely causeDoes not apply when
Reset in every browser, one network onlyNetwork filter, proxy, or router policyAnother device on the same network reaches the site
Reset in every browser, every networkLocal security software or VPN clientThe machine reaches the site over a hotspot
Reset during TLS handshake onlyHTTPS inspectionPlain HTTP also resets
Reset on large responses onlyMTU or fragmentationSmall responses also reset
Reset on one site, all clientsServer or path to itOther sites on the same host work

A reset is not a DNS failure

A common assumption is that any failure to load a page is a name resolution problem. It is not. DNS failure produces a different message, typically that the server’s address could not be found, and it happens before any TCP connection exists. A reset happens after the address is known and a connection has been attempted. Running a name lookup confirms which stage failed: if the name resolves, DNS is not the cause and the reset is happening at the connection or exchange stage.

nslookup example.com

A successful answer returns one or more addresses. If it does, the failure is downstream of resolution.

Order of repairs

The least destructive steps come first. Retry in a second browser, then on a second network, then with curl to locate the stage. Disable HTTPS scanning in the security product and retest. Disconnect the VPN and retest. Check the system proxy settings and clear them if they are wrong. If the reset appears only on large transfers, work through the MTU tests. Only after those steps should the reader consider resetting the network stack, and only when the symptom is broad rather than tied to one destination. A reset tied to one site, reproduced from another network, is not a local fault and no local repair will change it.

Common questions

What does ERR_CONNECTION_RESET actually mean?

It means the TCP connection was ended by a reset packet rather than a normal close. Something, either the server or a device on the path, sent a segment with the RST flag set. The browser reports the reset but cannot tell you which device sent it, so the cause has to be narrowed by testing.

Why does the connection reset only on one website?

A reset limited to one destination usually points at that server, a filter that blocks that destination, or a device that mishandles the protocol that site uses. Test the same site from a different network. If it still resets, the fault is at the server or on the path to it and local changes will not help.

Can antivirus cause ERR_CONNECTION_RESET?

Yes. Security products that scan HTTPS insert themselves into the TLS handshake and can reset connections they decide to block. Disable the HTTPS scanning feature temporarily and retry. If the reset stops, the scanner is the cause and the fix is in its exclusions or configuration.

How do I tell a reset from a timeout?

A timeout means no response arrived within the wait period. A reset means a response arrived that explicitly refused to continue. Curl shows the difference in its verbose output: a reset appears as a connection reset error at a specific stage, while a timeout shows the connection attempt hanging until it gives up.

Is a VPN likely to cause connection resets?

A VPN can cause resets if the tunnel drops, if the provider filters traffic, or if the tunnel's MTU is smaller than the local interface assumes. Disconnect the VPN and retry. If the reset disappears, the tunnel is implicated and the VPN client's settings or the provider are the place to look.

Read next