jmeter压力测试(踩坑)报错:java.net.BindException: Address already in use: connect

解决办法(在jmeter所在服务器操作):

1.cmd中输入regedit命令打开注册表;

2.在 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters右键Parameters;

3.添加一个新的DWORD,名字为MaxUserPort;

4.然后双击MaxUserPort,输入数值数据为65534,基数选择十进制;再添加TcpTimedWaitDelay,数值为30-300 选择十进制

5.完成以上操作,务必重启机器

可能还会出现,jmeter请求中的Use KeepAlive去掉勾选

jmeter压力测试(踩坑)报错:java.net.BindException: Address already in use: connect

 

 

 

原文链接:https://blog.csdn.net/zhangxiaohui4445/article/details/100162317

上一篇:端口被占用的问题解决 Web server failed to start. Port ×× was already in use


下一篇:Already included file name。。。。。Root file specified for compilation