Handle higher rate of outbound TCP connections - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

If you’re using the Web Services API on a Windows client and frequently see errors such as java.net.BindException: Address already in use: connect in the client application, you might need to tune the client operating system parameters so that it can handle a higher rate of outbound TCP connections.

  1. Open the Registry.
  2. Under the following registry entry:
     HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters
    
  3. Key in the registry of the Windows client machine.
  4. Add the following registry entries:
    1. TcpTimedWaitDelay

      Add this DWORD with a value of 30.

    2. MaxUserPort

      Add this DWORD with a value of 32768.

  5. Refer to the Windows documentation for further details on these registry entries.