Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iperf error: connect failed: no route to host

I have installed same version of iperf (2.0.5) on 2 different ubuntu systems. But when i execute command iperf -s -p 45678 on one system and iperf -c 172.18.41.17 -p 458 -t 10 on another system. It gives me error "connect failed: No route to host".

Any help would be appreciated.

EDIT: One system is working as server but the same system is not working as client.

like image 508
Nikita Avatar asked Mar 09 '23 14:03

Nikita


1 Answers

sometimes, the firewall service will prevent the tcp connection initiation, try by disabling the firewall service in client and server "service firewalld stop

like image 145
user2002885 Avatar answered Apr 28 '23 22:04

user2002885