I have a proper /etc/hosts file with the following contents:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
When I try to access a server I have running on my local computer, whether it is Apache on port 80, or another server running on another port, I can't access it in Safari. Yet I can access them just fine in Chrome. Why is this?