localhost is always responding with "Connection refused: localhost:80"
It turned out that the problem occured only in Opera, not Safari or any other browser. I found out that I had Opera Turbo enabled which would of course let me access my own localhost correctly.