Address already in use
Address already in use.Typically, this error message is displayed when all available TCP/IP ports have been exhausted.
None.
Fix
- If the performance schedule contains loops, move the loops into tests. If a performance 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:
- Create the following Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort. This key does not exist by default.
- Specify the type as DWORD.
- Set the value to 65000.
- Reboot the computer.