bind: Can't assign requested address using ssh (or anything else)

Nikos Vassiliadis nvass at teledomenet.gr
Tue Jan 22 03:35:37 PST 2008


On Monday 21 January 2008 22:00:33 perlcat wrote:
> Trying to access a vpn using ssh on 6.2 - STABLE. Haven't found an
> answer anywhere, and so I must be totally missing the right questions to
> ask or configurations to look at.
>
> This problem is consistent regardless of port chosen or access method. I
> can duplicate at will with ssh. Here's the command that fails:
>
> $ ssh -X -N -L 127.0.0.3:13390:192.168.1.44:3390 tyson at xx.xx.xx.xx
> tyson at xx.xx.xx.xx's password:
> bind: Can't assign requested address
> channel_setup_fwd_listener: cannot listen to port: 13390
> Could not request local forwarding.

Ofcourse it fails, you are trying to bind to address 127.0.0.3,
however there is no such address assigned to a local network
interface. Either:

1) change 127.0.0.3 to 127.0.0.1
	You don't explain what this 127.0.0.3 is.
2) ifconfig lo0 add 127.3/32

HTH, Nikos


More information about the freebsd-questions mailing list