hosts file

eoghan freebsd at redry.net
Wed Mar 15 19:44:30 UTC 2006


Steve Bertrand wrote:
>> 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
> 

Hi
Yep, its:
Listen 80
and
ServerName localhost
Where do i get the text from the boot? Im getting some weird Network is 
unreachable messages in here that may have something to do with it?
Eoghan


More information about the freebsd-questions mailing list