Jmeter压测报错java.net.BindException: Address already in use: connect
Pressure sensor interface encountered such a problem today
When the high concurrent threads may occur Address already in use: connect exception
After the search found necessary to add a registry key MaxUserPort In regedit, TcpTimedWaitDelay restart it can be solved.
Solution:
1, open the registry: ctrl + r input regedit
2, enter - Computer \ HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Tcpip \ Parameters
3, the new DWORD value, name: TcpTimedWaitDe, value: 30 (decimal) is set to 30 seconds
4, the new DWORD value, name: MaxUserPort, value: 65534 (decimal) the maximum number of connections 65534