Implement these recommendations in your Windows environment to prevent deployment issues, increase the performance and the capacity of the networking stack (specifically the TCP socket), and thus enabling PingFederate to handle a high volume of concurrent requests.

Increase the number of available ephemeral ports

  1. Start the Command Prompt application (cmd.exe).
  2. Type netsh int ipv4 show dynamicportrange tcp to view the ephemeral ports.
  3. Type netsh int ipv4 set dynamicport tcp start=1025 num=64510 to increase the range of the ephemeral ports. (Administrative privileges required.)
  4. Reboot the server.
  5. Type netsh int ipv4 show dynamicportrange tcp to confirm the updated port range.

Reduce socket TIME_WAIT delay

  1. Start the Registry Editor application (regedit.exe).
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters.
  3. Create a new DWORD (32 bit) value and set the name as TcpTimedWaitDelay.
  4. Set a decimal value of 30.
  5. Reboot the server.