I’m attempting to do a file transfer speed test using iperf3. I’m currently ssh’d into the server and logged into the Web interface. I also have SMB shares mounted and can access the web interfaces of the apps I run on the server. So, I definitely can connect to the server over the network. Pinging the IP address or hostname also works with 100% success rate.
However, when I tried to run a test with iperf3, the client says no route to host.
Server side ( I’ve tried listening ports 30001 and 55555 as well ) (server)
iperf3 -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
I’ve tried specifying the port when using the default and non-default port ((client)
iperf3 -c 192.168.1.16 --parallel 20
iperf3: error - unable to connect to server - server may have stopped running or use a different port, firewall issue, etc.: No route to host
iperf3 -c 192.168.1.16 --port 5201 --parallel 20
iperf3: error - unable to connect to server - server may have stopped running or use a different port, firewall issue, etc.: No route to host
Ping check (client)
ping -c1 192.168.1.16
PING 192.168.1.16 (192.168.1.16): 56 data bytes
64 bytes from 192.168.1.16: icmp_seq=0 ttl=64 time=24.344 ms
--- 192.168.1.16 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 24.344/24.344/24.344/nan ms
Netcat check (client)
nc -zv 192.168.1.16 5201
Connection to 192.168.1.16 port 5201 [tcp/targus-getdata1] succeeded!
Now I’m confused. If I can connect to the port iperf3 server is listening on, why doesn’t the client connect? My guess is there is an issue with iperf3. I installed it on my Mac using “brew install”