localhost
Can't open localhost 127.0.0.1 on macOS Sierra 10.12.1
MacBook Pro, macOS Sierra (10.12.1)
Can't open localhost 127.0.0.1 on macOS Sierra 10.12.1
MacBook Pro, macOS Sierra (10.12.1)
Is the webserver running?
Do you get an error? If so what is it?
Did you start up the apache server?
MAMP could not start Apache
No error msg
MAMP starts servers, but localhost still not active.
MAMP shows both servers running but still no localhost web action.
What is the output of the OS X Terminal command
netstat -an | grep LISTEN
Here is an example....
netstat -an | grep LISTEN
tcp4 0 0 127.0.0.1.50989 *.* LISTEN
tcp4 0 0 127.0.0.1.50986 *.* LISTEN
tcp4 0 0 127.0.0.1.60012 *.* LISTEN
tcp4 0 0 127.0.0.1.60010 *.* LISTEN
tcp6 0 0 ::1.5001 *.* LISTEN
tcp4 0 0 127.0.0.1.5001 *.* LISTEN
tcp4 0 0 127.0.0.1.5003 *.* LISTEN
tcp4 0 0 127.0.0.1.60014 *.* LISTEN
tcp4 0 0 127.0.0.1.29754 *.* LISTEN
tcp4 0 0 127.0.0.1.1023 *.* LISTEN
tcp4 0 0 *.88 *.* LISTEN
tcp6 0 0 *.88 *.* LISTEN
tcp46 0 0 *.49152 *.* LISTEN
tcp4 0 0 *.5900 *.* LISTEN
tcp6 0 0 *.5900 *.* LISTEN
What port are you using? MAMP does not use port 80 so you need to read the manual (or check MAMP's settings) & check you have the correct port.
Stuff that into Safari…
http://127.0.0.1:8080 or whatever.
You may prefer to use localhost or your 'computer name' instead of 127.0.0.1.
Have you reviewed MAMP's logs? It normally records failures if you dig into it. Also check you have the latest version.
tcp4 0 0 127.0.0.1.17603 *.* LISTEN
tcp4 0 0 127.0.0.1.17600 *.* LISTEN
Can you use the settings as described in the documentation and Drew Reece 's suggestion?
The 127.0.0.1 page isn’t working
127.0.0.1 didn’t send any data.
ERR_EMPTY_RESPONSE
It is still not clear if you are specifying a port - do you understand what this means?
Please examine the MAMP settings & confirm exactly what the Apache port is - please post that information here.
8888
localhost