Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2006 10:04:15 +0200
From:      Riemer Palstra <riemer@palstra.com>
To:        Mauro Bisiani <mbisiani1978@hotmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Apache not binding
Message-ID:  <20060907080415.GB71602@rb1.palstra.com>
In-Reply-To: <BAY105-F9233CD625C8736EEB3C28D2360@phx.gbl>
References:  <BAY105-F9233CD625C8736EEB3C28D2360@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 07, 2006 at 09:51:48AM +0200, Mauro Bisiani wrote:
>   I have recentrly installed Apache 1.3+SSL from the port collection.
>   When it run locally everything is ok. But when I try to bind my public
>   IP I get the following error message in the apache log file:
> 
>   [crit] (49) Can't assign requested address: make_sock: could not bind
>   to address
> 
>   I have a LAN with an Atlantis router. I have set the router'virtual
>   server's rules so that the ports 80 and 443 are redirected to the
>   machine with the web server, and also I have set DMZ with that host
>   private IP.

If you have a router, isn't the public ip address you want to bind to on
the router, and not on the webserver machine? In any case, run 'ifconfig
-a' and see if the ip address you want to bind to is actually in the
output. If not, you probably want Apache to bind on the private ip
address you are forwarding the requests to.

-- 
Riemer Palstra		     		      Amsterdam, The Netherlands
riemer@palstra.com				 http://www.palstra.com/



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