Use Command Prompt and a Registry Editor to edit the cmd.exe file and the regedit.exe file respectively.
  1. Edit the jvm-memory.options file with a time stamp.
    1. Start the Command Prompt application cmd.exe.
    2. Enter netsh int ipv4 show dynamicportrange tcp to view the ephemeral ports.
    3. Enter netsh int ipv4 set dynamicport tcp start=1025 num=64510 to increase the range of the ephemeral ports using administrative privileges.
    4. Reboot the server.
    5. Enter netsh int ipv4 show dynamicportrange tcp to confirm the updated port range.
  2. Reduce socket TIME_WAIT delay.
    1. Start the Registry Editor application regedit.exe.
    2. Go 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.