Skip site navigation (1)Skip section navigation (2)
Date:      05 Feb 2003 11:31:09 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        <mike@ascendency.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Apache built correctly?
Message-ID:  <44y94uelki.fsf@be-well.ilk.org>
In-Reply-To: <000801c2ccf0$17c1a820$0301a8c0@mike>
References:  <000801c2ccf0$17c1a820$0301a8c0@mike>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mike Loiterman" <mike@ascendency.net> writes:

>  
> On Tuesday, February 04, 2003 9:11 AM lowell@be-well.no-ip.com <mailto:lowell@be-well.no-ip.com> wrote:
> 
> > "Mike Loiterman" <mike@ascendency.net> writes:
> > 
> >> Absolutly nothing appears in the httpd-access.log file when I try to
> >> access the index.html. 
> >> 
> >> When I try to do http://localhost I get nothing.  Just this:
> >> unable to connect to remote host.
> >> 
> >> I've restarted apache many times with the same results.  I restarted
> >> my machine with the same results. 
> >> 
> >> 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:   
> > 
> > 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?
> 
> Well I telnet to 80 and it just says refused:
> 
> [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

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.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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