Menu

#58 Spurious 'Connection refused' on client

open
nobody
None
5
2012-11-03
2012-11-03
Yuri
No

I get this error but it doesn't happen every time. See session log below.

Relevant port is open both ways. Since iperf is the network utility and relies on open ports, it should say in the error message what port is expected to be open and isn't, what protocol, etc. Give the user relevant information to be able to understand the failure and not ask too many questions.

--- session log ---
$ iperf -u -c X.X.X.X -p XX
------------------------------------------------------------
Client connecting to X.X.X.X, UDP port XX
Sending 1470 byte datagrams
UDP buffer size: 9.00 KByte (default)
------------------------------------------------------------
[ 3] local X.X.X.X port 39529 connected with X.X.X.X port 11017
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 680 KBytes 556 Kbits/sec
[ 3] Sent 893 datagrams
read failed: Connection refused
[ 3] WARNING: did not receive ack of last datagram after 1 tries.

Discussion


Log in to post a comment.