Posts: 876
Name: Matt Pealing
Location: England, north west
|
I am having trouble editing my hosts file in Snow Leopard. Well, I can edit it fine, but the changes seem to give no effect whatsoever.
My hosts file looks like so:
Code:
##
# 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
fe80::1%lo0 localhost
127.0.0.1 localhost www.localhost.com
I cannot access localhost by entering '127.0.0.1' into my browser, nor can I access it by entering 'www.localhost.com'.
Firefox simply tells me either 'Unable to Connect' or 'The Connection was reset', respectively.
I've also tried the line:
Code:
127.0.0.1 www.localhost.com
Is there something I am doing wrong?? I have been looking all over the internet all week and cannot see what I might be missing!
The only way I can connect to localhost is by visiting 'http://localhost:8888/'.
If it helps, I am running MAMP.
Thanks to anyone who can help.
|