Localhost doesn't work
I have a problem that I just can't figure out. First off I have a G5 running 10.4.10 Server with Apache 1.3 hosting a internal web site, doing some php and MySql stuff in the background. It all works fine as is, and has been for over a year now.
For whatever reason (I can't remember why I tried) I tried to connect to the the site using http://localhost. I get a message saying "Firefox can't establish a connection to the server at localhost". I have the site located at /Library/WebServer/Documents, with a index.html file inside Documents.
I get the same message using Safari as well. But here is the real weird thing, IE 5.2 will work just fine!! Firefox and Safari will work if I put in the IP of the server in the address bar, just not localhost or 127.0.0.1.
Here is what I have checked or done so far. Turned off proxy settings, put localhost in the "Bypass Proxy" settings, checked the /etc/hosts file and it contains:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
The networks file looks like this:
##
# Networks Database
##
loopback 127 loopback-net
I also looked through the httpd.conf file for anything that looked like it might be misconfigured, but didn't see anything there either.
I'm puzzled about why it doesn't work. Any help on this would be greatly appreciated.
Thanks
John
G5, 17" Mac Book Pro, Mac OS X (10.4.10)