When ever I lose my internet connection, localhost configured in MAMP is not accesible. no root, no sites, no sites with no internet based dependencies. I've user WAMP in the past and have not found this problem. This has me thinking there's a background process requiring internet access. Is there anyway to configure MAMP so I don't need an internet connection?
This is what worked for me:
I looked up for my IP address (System Preferences > Network ) and used it as http:// MYIPADDRESS/
instead of using 'localhost'
Add port if need to.