java.net.BindException:Address already in use:connect
时间: 2024-01-02 19:19:37 浏览: 154
java.net.BindException: Address already in use: connect是因为在JMeter压测过程中,TCP/IP链接的端口被占用了。这个问题可以通过修改系统注册表或者执行.bat文件来解决。具体来说,Windows提供给TCP/IP链接的端口为1024-5000,并且要四分钟来循环回收他们。如果在短时间内跑大量的请求,就会将端口占满,导致出现这个错误。因此,可以通过修改注册表来增加可用端口的数量,或者执行.bat文件来释放已经占用的端口。
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Jmeter报错:java.net.BindException: Address already in use: connect](https://blog.csdn.net/cheng_jeff/article/details/120169008)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [解除Windows系统对JMeter压测工具连接数限制](https://download.csdn.net/download/m0_37196398/85056543)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文