Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 13:34:44 +0200
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        freebsd-questions@freebsd.org
Cc:        perlcat <perlcat@alltel.net>
Subject:   Re: bind: Can't assign requested address using ssh (or anything else)
Message-ID:  <200801221334.45017.nvass@teledomenet.gr>
In-Reply-To: <200801211400.33730.perlcat@alltel.net>
References:  <200801211400.33730.perlcat@alltel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@xx.xx.xx.xx
> tyson@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801221334.45017.nvass>