linux iperf3: error - unable to connect to server: Connection timed out
时间: 2023-08-22 13:13:15 浏览: 300
docker-iperf3:一个简单的[iPerf3](https
问题:linux iperf3: error - unable to connect to server: Connection timed out
回答: 当在使用iperf3工具进行测试时,如果在客户端开启iperf3 -c时出现"unable to connect to server: Connection timed out"的错误提示,这通常是由于防火墙导致的。iperf3工具默认使用端口号5201的TCP和UDP协议进行通信,因此需要更新防火墙设置,打开对应的端口,以允许流量通过网关到达服务器。例如,在腾讯云轻量服务器上,可以通过添加防火墙规则来解决此问题。\[1\]
#### 引用[.reference_title]
- *1* [出现错误 iperf3: error - unable to connect to server: Connection timed out的解决办法。](https://blog.csdn.net/wjr110_/article/details/123556714)[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^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文