0

I am trying to setup an iperf test but the client side keeps getting connection refused message.

Server side:
ubuntu@webserver1:~$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
ubuntu@webserver1:~$


Client side: 
test@ubuntu:~$ sudo iperf -c 192.168.1.2
connect failed: Connection refused
test@ubuntu:~$

The command I am using is exactly like this guide here: http://openmaniak.com/iperf.php

and I saw some previous iperf questions, but they do not provide a solution on what's wrong here: iperf connect failed: Connection refused https://serverfault.com/questions/643420/network-connectivity-reachability-between-nodes-located-in-the-same-lan-using Iperf bidirectional bandwidth measurement

I have a vlan id setup for my network, and both my server and client are on the same vlan id, and they can ping each other. So I don't think the it's cause by a vlan id. Its not the firewall either. ufw is disabled. I am running ubuntu server 14 on both client and server.

thanks everyone

D.Zou
  • 191

0 Answers0