Max Network Connections Registry Settings

Windows manages network connection limits across different layers of the operating system, ranging from system-wide TCP/IP sockets to application-level HTTP requests. This guide details the specific Windows Registry entries used in Regedit to control the maximum number of simultaneous network connections, outlines their exact registry paths, and explains how to configure them.


1. System-Wide TCP Connections (TcpNumConnections)

The primary registry entry that governs the maximum number of simultaneous TCP connections that the TCP/IP stack can open at once is TcpNumConnections.


2. Maximum Outbound Ports (MaxUserPort)

When applications establish numerous outbound connections, they can run out of ephemeral ports. The MaxUserPort entry controls the maximum port number Windows can assign for outbound user sockets.


3. Web and HTTP Connection Limits (MaxConnectionsPerServer)

For web traffic handled via the Windows Internet (WinINet) API and Windows services, HTTP connection limits to a single web host are controlled by two distinct registry keys.


How to Modify These Entries in Regedit

  1. Press Win + R, type regedit, and press Enter to open the Registry Editor.
  2. Navigate to the relevant registry path specified above.
  3. Check if the value name exists in the right pane:
    • If it exists, double-click it.
    • If it does not exist, right-click an empty space, select New > DWORD (32-bit) Value, and name it exactly as listed.
  4. Set the Base to Decimal, enter your desired value, and click OK.
  5. Restart your computer for the changes to take effect.