User Agents

Web browsers and everyday web tech, explained

Chrome How to Flush Socket Pools

· 5 min read · Browsers

In this article
  1. What Are Socket Pools?
  2. How to Flush Socket Pools in Chrome
  3. When Should You Flush Socket Pools?
  4. What Actually Happens When You Flush?
  5. Common Problems and Misconceptions
  6. Alternatives to Flushing Socket Pools
  7. Frequently Asked Questions

To flush socket pools in Chrome, close all browser windows completely (not just tabs) and reopen Chrome, or use the built-in chrome://net-internals/#sockets page and click the "Flush socket pools" button. This clears the browser's cached network connections, which can resolve issues like stale connections, broken pages, or network errors after a VPN change or network switch.

What Are Socket Pools?

Socket pools are Chrome's internal cache of active TCP connections to web servers. When you visit a site, Chrome keeps the connection open for a short time to reuse it for subsequent requests (e.g., loading images, scripts, or navigating within the same site). This reduces latency and speeds up page loads. Each pool groups connections by destination server, protocol (HTTP/1.1, HTTP/2, or QUIC), and proxy settings.

Flushing these pools forces Chrome to close all cached connections and establish new ones on the next request. This is different from clearing browsing data (cookies, cache, history) because it only affects network sockets, not stored files or site data.

How to Flush Socket Pools in Chrome

There are two main methods, both safe and reversible:

  1. Quick method (restart Chrome): Close all Chrome windows and ensure the process is fully terminated (check the system tray or Task Manager for background processes). Reopen Chrome. This closes all sockets automatically.
  2. Using net-internals: Type chrome://net-internals/#sockets in the address bar and press Enter. On that page, click the "Flush socket pools" button. The page will show a confirmation message like "Socket pools flushed." You can then close the tab.

For most users, the restart method is sufficient. The net-internals method is useful if you want to avoid losing your open tabs or if you're troubleshooting a specific network issue without a full restart.

When Should You Flush Socket Pools?

Flushing socket pools is useful in several scenarios:

  • After switching networks (e.g., from Wi-Fi to Ethernet, or to a different Wi-Fi network).
  • After changing VPN connections or proxy settings.
  • When a page fails to load with errors like ERR_CONNECTION_RESET or ERR_SOCKET_NOT_CONNECTED.
  • When a site appears stuck in a cached state (e.g., showing old content despite a server update).
  • When you've changed system network settings (like DNS) and want Chrome to pick up the changes immediately.

Note that flushing sockets does not clear your browsing history, cookies, or cached files. It only affects the network connections themselves.

What Actually Happens When You Flush?

When you flush socket pools, Chrome iterates through all active socket pools and closes every underlying TCP connection. Any in-flight requests are aborted, and the browser will re-establish connections as needed. This means that if you're in the middle of a large download, it will be interrupted. However, for normal browsing, the impact is minimal—the next page load will simply create a new connection.

Chrome also has a feature called "socket pool limits" that controls how many connections can be open per host. Flushing resets these limits, but they are automatically adjusted again based on network conditions.

Common Problems and Misconceptions

A common misconception is that flushing socket pools will fix all network issues. It won't. It only resolves problems caused by stale or corrupted connections. If you have an incorrect DNS setting, a firewall blocking ports, or a server-side issue, flushing won't help.

Another misconception is that you need to flush sockets after every network change. In most cases, Chrome handles network transitions automatically. However, some VPN clients or proxy software can leave connections in a half-open state, causing errors. Flushing is a safe first step in troubleshooting.

If you see "ERR_CONNECTION_TIMED_OUT" after flushing, the problem is likely elsewhere (e.g., the server is down, or your network is blocking the connection).

Alternatives to Flushing Socket Pools

If flushing doesn't solve your issue, consider these alternatives:

  • Clear cached images and files: Go to chrome://settings/clearBrowserData, select "Cached images and files," and clear them. This can fix issues with corrupted cached resources.
  • Reset Chrome flags: If you've changed experimental flags in chrome://flags, resetting them to default can resolve network-related bugs.
  • Disable extensions: Some extensions interfere with network requests. Try disabling them in chrome://extensions.
  • Use Incognito mode: This runs a clean session without extensions or cached data, which can help isolate the problem.
  • Restart your router/modem: This resets your local network stack, which can help if the issue is outside Chrome.

Frequently Asked Questions

Does flushing socket pools clear my browsing history?

No. Socket pools are only network connections. Your browsing history, cookies, and cached files remain untouched. To clear those, you need to use the "Clear browsing data" option in settings.

Will flushing socket pools log me out of websites?

No. Logging out is controlled by cookies and session tokens, which are not affected by flushing sockets. However, if you were in the middle of a request that required authentication, that specific request might need to be repeated.

Is flushing socket pools safe?

Yes, it's completely safe. It's a standard troubleshooting step recommended by Google support. It won't harm your system or your Chrome profile. The only side effect is that any ongoing downloads or uploads will be interrupted.

How often should I flush socket pools?

There's no need to do it regularly. Only do it when you encounter connection-related errors or after significant network changes. Doing it too often can actually slow down browsing because Chrome has to re-establish connections more frequently.

Can I flush socket pools on Chrome for Android or iOS?

On mobile, the easiest way is to force-stop the Chrome app (via the system settings) and reopen it. The chrome://net-internals page is not available on Android or iOS. For Android, you can also go to Chrome's site settings and clear "Cached data," but that's not the same as flushing sockets.