From owner-freebsd-questions Wed Mar 19 5:30: 5 2003 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 C1FBF37B404 for ; Wed, 19 Mar 2003 05:30:02 -0800 (PST) Received: from hotmail.com (f138.law15.hotmail.com [64.4.23.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53BA843F85 for ; Wed, 19 Mar 2003 05:30:02 -0800 (PST) (envelope-from drblast01@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 19 Mar 2003 05:30:02 -0800 Received: from 68.84.132.151 by lw15fd.law15.hotmail.msn.com with HTTP; Wed, 19 Mar 2003 13:30:00 GMT X-Originating-IP: [68.84.132.151] X-Originating-Email: [drblast01@hotmail.com] From: "Ian Larsen" To: questions@freebsd.org Subject: Re: Problem with apache Date: Wed, 19 Mar 2003 08:30:00 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Mar 2003 13:30:02.0226 (UTC) FILETIME=[A5292520:01C2EE1B] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks Andrey! A sockstat on the non-working server showed this: www httpd 694 3 tcp6 *:80 *:* while the working version shows: www httpd 694 3 tcp46 *:80 *:* It appears the non-working server is only aware of tcp6 protocol. Is this a problem with my ethernet config? Other services are using tcp4. Is there something in the apache configs that would cause this? Thanks again, -Ian Larsen ----Original Message Follows---- From: Andrey Simonenko To: "Ian Larsen" CC: questions@freebsd.org Subject: Re: Problem with apache Date: Wed, 19 Mar 2003 10:31:50 +0200 (EET) On Wed, 19 Mar 2003 06:35:12 +0000 (UTC) in lucky.freebsd.questions, Ian Larsen wrote: > I've got two FreeBSD boxes on my home network. They are both assigned local > IP addresses through DHCP. > > I've just installed Apache on both of them tonight, and I can access one > machine just fine using its local IP address. (192.168....) The other, I > can telnet to port 80 on it using: > > $ telnet localhost 80 > Trying ::1.. > Connected to localhost. > Escape character is '^]' > > But if I try using its IP address, even the loopback, the connection is > refused: > > $ telnet 127.0.0.1 80 > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection refused > telnet: unable to connect to remote host > Following checks should help: 1. Check on which interfaces your Apache server works: "sockstat -l". 2. Check NICs IP addresses: "ifconfig -a" 3. Check routing table: "netstat -rn" 4. Check IPFW "ipfw l" (and/or IPF "ipfstat -io") tables. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message