Jmeter压测报错 java.net.BindException: Address already in use: connect

Jmeter压测报错java.net.BindException: Address already in use: connect


2019.08.29 18:12 

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

Guess you like

Origin www.cnblogs.com/maxforb/p/11428969.html