Increasing the maximum number of TCP connections on a Microsoft Windows operating system

You can specify the maximum number of connections that TCP can have open simultaneously by changing the value of the Microsoft Windows TcpNumConnections parameter.

About this task

By increasing this value, Java™ can use more TCP connections.

Attention:

Because each open TCP connection occupies memory (usually both bookkeeping tables and buffer space), fewer TCP connections are available to other processes. However, the memory footprint is a minor concern for enterprise-class servers with large amounts of available RAM.

Procedure

Use the Registry Editor to decrease the TcpNumConnections parameter value, which is located in the following registry path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters