Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 14:38:56 -0500
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        "'eoghan'" <freebsd@redry.net>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: hosts file
Message-ID:  <20060315193846.54A3E43D48@mx1.FreeBSD.org>
In-Reply-To: <44186B85.5010007@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> Yes, mine reads:
> ::1		localhost nathaniel
> 127.0.0.1	localhost nathaniel
> Upon starting apache, i can only get to it by using the ip.
> 127.0.0.1 wont work either. I just get the unable to connect 
> message from the browser. Any ideas?

Under the Listen directive in your httpd.conf file, are you binding
Apache to a single IP?

Mine reads:

Listen 80

Which means listen on port 80 on all IP's. If you have an entry as such:

Listen 123.456.789.111:80

It will listen on port 80 on ONLY that IP, and ignore all other
requests, including localhost/127.0.0.1.

Regards,

Steve




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