Re: error: bind: Address already in use



In article <1187849058.353157.40790@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> Doesnt
Compute <doesntcompute2k@xxxxxxxxx> writes:

The issue it seems is related to the desktop application (Genaro
Desktop Client program) having issues specifying a port or trying too.
Putty works fine, Genaro using part of the callable putty routines has
the issue.

Where are you seeing the error message? If in a syslog file
(e.g. /var/log/messages) it should also have the pid of the reporter,
allowing you to determine whether it comes from the already running sshd
or another instance trying to start, as claimed by others.

The error will also be reported if a client requests a reverse port
forwarding from a port that is in use by some other process - e.g.

onehost $ ssh -R6000:localhost:1234 otherhost
otherhost $

- succeeds, but on otherhost this is found in the log:

Aug 23 21:43:24 otherhost sshd[90398]: error: bind: Address already in use
Aug 23 21:43:24 otherhost sshd[90398]: error: channel_setup_fwd_listener: cannot listen to port: 6000

(Port 6000 here is in use by the X server on otherhost of course - just
an example.)

--Per Hedeland
per@xxxxxxxxxxxx
.