From owner-freebsd-questions@FreeBSD.ORG Thu May 29 06:25:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99AAF37B401 for ; Thu, 29 May 2003 06:25:47 -0700 (PDT) Received: from web40607.mail.yahoo.com (web40607.mail.yahoo.com [66.218.78.144]) by mx1.FreeBSD.org (Postfix) with SMTP id EB16D43FA3 for ; Thu, 29 May 2003 06:25:46 -0700 (PDT) (envelope-from deesto@yahoo.com) Message-ID: <20030529132546.77332.qmail@web40607.mail.yahoo.com> Received: from [143.48.14.233] by web40607.mail.yahoo.com via HTTP; Thu, 29 May 2003 06:25:46 PDT Date: Thu, 29 May 2003 06:25:46 -0700 (PDT) From: John DeStefano To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Apache error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 13:25:48 -0000 I had some trouble getting Apache2 to run properly on my machine, so I uninstalled the port and started over with a new port installation. It seemed to work fine "out of the box" with very few changes to the httpd.conf file. I'm able to 'lynx http://localhost' with no trouble, and last I checked I was able to view the page from another browser on my local LAN using my external IP address after 'poking a hole' in my router firewall to allow traffic for port 80 through to the server. However, I've run into a bit of a problem now: I haven't changed anything since yesterday, and I can't browse the site from an external computer (at work). Also, I get the following, strange error when checking the status of the daemon: # apachectl --status (48)Address already in use: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down Unable to open logs Despite all this, the server is still running (or running again?) and I can still 'lynx' to it when I ssh to my server, even from work; I just can't access it via the Web. The server thread looks like it's okay, even though it's somehow now serving bothIP4 and IP6; last night it showed only 'tcp6' and I haven't changed any config settings: # netstat -nat | grep 80 tcp46 0 0 *.80 *.* LISTEN Do I need to open a hole somewhere I haven't yet? Also, I'll eventually need to change port 80 to another, unused port, as my ISP does not allow web hosting. I once tried to fix this by changing the port number in two places in httpd.conf: 'Listen' and 'ServerName'. This seemed to change the port of the thread, as 'netstat' showed the new port, but nothing else worked. Where else must the port number be changed? --------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM).