From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 7 07:51:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6692A16A4DD for ; Thu, 7 Sep 2006 07:51:52 +0000 (UTC) (envelope-from mbisiani1978@hotmail.com) Received: from bay0-omc1-s39.bay0.hotmail.com (bay0-omc1-s39.bay0.hotmail.com [65.54.246.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFBCE43D45 for ; Thu, 7 Sep 2006 07:51:51 +0000 (GMT) (envelope-from mbisiani1978@hotmail.com) Received: from hotmail.com ([65.54.224.19]) by bay0-omc1-s39.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Sep 2006 00:51:51 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Sep 2006 00:51:51 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Thu, 07 Sep 2006 07:51:48 GMT X-Originating-IP: [83.211.72.250] X-Originating-Email: [mbisiani1978@hotmail.com] X-Sender: mbisiani1978@hotmail.com From: "Mauro Bisiani" To: freebsd-hackers@freebsd.org Date: Thu, 07 Sep 2006 09:51:48 +0200 X-OriginalArrivalTime: 07 Sep 2006 07:51:51.0708 (UTC) FILETIME=[7ADCCDC0:01C6D252] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Apache not binding X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 07:51:52 -0000 Hi everybody, 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. I have made some tests to understand what's wrong. Netstat and sockstat report that there is no internet sock. I have made a scan with Nmap and it says there is no open port on the machine! It seems that every service can run only locally. I have disabled inetd. Is this the reason of the problem? Any suggestions? I have FREEBSD 6.0 and I have installed it with almost every default option. I have not set any firewall rules, neither on the router nor on the server's machine. Thanks to all Mauro Bisiani