I just installed MAMP on Mac OSX 10.8.2.
When it is started, I'm not able to access the server through http://localhost:8888 but when I visit http://127.0.0.1:8888/ and it works fine.
Why is it so? and how can I make it work with when I type http://localhost:8888