Address already in use   
Address already in use.


Typically, this error message is displayed when all available TCP/IP ports have been exhausted.

System action


User response

  • If the Schedule contains loops, move the loops into tests. If a Schedule contains loops, at the beginning of a loop iteration each virtual user closes existing connections and opens new connections. This can cause the agent computer to exhaust all available TCP/IP ports. If a test contains loops, virtual users attempt to re-use existing connections. Re-use of existing connections can take advantage of keep-alive connections.
  • Increase the number of TCP/IP ports available. The number of TCP/IP ports on a Windows computer is limited to 5000 by default. To increase the number of TCP/IP ports available on a Windows computer:
    1. Create the following Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort. This key does not exist by default.
    2. Specify the type as DWORD.
    3. Set the value to 65000.
    4. Reboot the computer.