jmeter报错 java.net.BindException: Address already in use: connect

压测错误如下: windows提供给TCP/IP链接的端口为 1024-5000,并且要四分钟来循环回收它们,就导致我们在短时间内跑大量的请求时将端口占满了,导致报错,
jmeter报错 java.net.BindException: Address already in use: connect

解决方案为:

1.cmd中,用regedit命令打开注册表

2.在 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters下,

1 .右击parameters,添加一个新的DWORD或者QWORD根据电脑配置 名字为MaxUserPort

2 .然后双击MaxUserPort,基数选择十进制,输入数值数据为65534
jmeter报错 java.net.BindException: Address already in use: connect

jmeter报错 java.net.BindException: Address already in use: connect

3.重启电脑
————————————————
版权声明:本文为CSDN博主「心寒丶」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/jungeCSND/article/details/108123710

上一篇:Retrying connect to server: 0.0.0.0/0.0.0.0:8031. Already tried 0 time(s); retry policy is RetryUpTo


下一篇:OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized错误提示