From owner-freebsd-questions Wed Feb 5 14:47:15 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 5FB4437B401 for ; Wed, 5 Feb 2003 14:47:13 -0800 (PST) Received: from fat_man.ascendency.net (12-211-152-75.client.attbi.com [12.211.152.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C81743FCB for ; Wed, 5 Feb 2003 14:47:09 -0800 (PST) (envelope-from mike@ascendency.net) Received: from mike (user-119bct7.biz.mindspring.com [66.149.179.167]) (authenticated) by fat_man.ascendency.net (8.11.6/8.11.6) with ESMTP id h15MkuN18525 for ; Wed, 5 Feb 2003 16:46:57 -0600 (CST) (envelope-from mike@ascendency.net) Reply-To: From: "Mike Loiterman" To: Subject: RE: Apache built correctly? Date: Wed, 5 Feb 2003 16:41:25 -0600 Message-ID: <001101c2cd67$b93e7940$0301a8c0@mike> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <44y94uelki.fsf@be-well.ilk.org> 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 =20 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, February 05, 2003 10:31 AM lowell@be-well.no-ip.com = wrote: > "Mike Loiterman" writes: >=20 >>=20 >> On Tuesday, February 04, 2003 9:11 AM lowell@be-well.no-ip.com >> wrote:=20 >>=20 >>> "Mike Loiterman" writes: >>>=20 >>>> Absolutly nothing appears in the httpd-access.log file when I try >>>> to access the index.html.=20 >>>>=20 >>>> When I try to do http://localhost I get nothing. Just this: >>>> unable to connect to remote host. >>>>=20 >>>> I've restarted apache many times with the same results. I >>>> restarted my machine with the same results. >>>>=20 >>>> I can telnet into port 80 but Apache doesn't appear to answer. >>>> Something tells me that the daemon isn't running correctly or that >>>> Apache was installed incorrectly, although 'ps -aux | grep httpd' >>>> shows: >>>=20 >>> What does "doesn't appear to answer" mean? The fact that you can >>> telnet in tells you that it isn't a network-layer issue. Did you >>> try a legitimate HTTP request? >>=20 >> Well I telnet to 80 and it just says refused: >>=20 >> [02:22:47 root@little_boy: /etc/mail]# telnet localhost 80 Trying >> 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused >> telnet: Unable to connect to remote host >=20 > Ah. So you *can't* telnet into port 80. That's different. > Use sockstat(1) to see if anything is bound to port 80, and look at > firewall rules to see if something's blocking it before it gets there. [13:41:19 root@little_boy: /etc/mail]# sockstat | grep 80 www httpd 30322 3 tcp6 *:80 *:* www httpd 30321 3 tcp6 *:80 *:* www httpd 30320 3 tcp6 *:80 *:* www httpd 30319 3 tcp6 *:80 *:* www httpd 30318 3 tcp6 *:80 *:* root httpd 30309 3 tcp6 *:80 *:* Hrmm...seems to be bound to thr right ports??? I'm not sure how to = check the firewall rules, as this machine is already behind a firewall. = Even so, wouldn't the http://localhost bypass any firewall stuff? - ------------------------------------------- Randomly Generated Quote: Useless Invention: Brown undershorts. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPkGTFGjZbUnRudGOEQLotgCcDS5LT030EiupOSQ7vOwQRa/ytJMAnA9R ehJvztUVn8vsxwsdbSxVuJKV =3DJogU -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message