You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

By default, Windows can handle a maximum of 5000 open TCP connections. If your loads are higher, you may experience problems such as failed requests for new connections and poor performance.

To improve Windows’ ability to handle the connections:

(Important: Changes to the registry can cause serious problems, including inability to reboot your machine. You may want to make a backup of the registry before continuing. For information on backing up the registry, visit support.microsoft.com and type "registry editor" into the Search box. Instructions for working with the registry editor vary depending on your Windows version.)

  1. From the Windows Start menu, type Run and press Enter (or for Windows XP, cilck Run). From the Run dialog, type regedit and click OK to start the registry editor.

  2. In the Registry Editor, open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    From this location, open:

    Tcpip for IPV4
    - Tcpip6 for IPV6

  3. Select the registry subkey Parameters, and check the right panel for the registry entries MaxUserPort and TcpTimedWaitDelay. If these entries do not exist, create them: Right-click on Parameters and from the shortcut menu select New and then select DWORD (32-bit) value.

    You will see that a new registry entry, New Value #1, is automatically created on the right side of the Registry Editor. You can change the names of the new entries as described in step 2.

  4. Edit the values of the entries:

    - Select the entry
    - Press Enter, or right-click on the entry and select Modify. This will open the Edit DWORD Value dialog.

  5. Change the Value setting for MaxUserPort to 65534, and the Value setting for TcpTimedWaitDelay to 30.
  • No labels