Joe Grizzly
Joe Grizzly

Reputation: 75

MAMP Not Displaying localhost:8888 on Mac

I've used MAMP for many years and have always been going to http://localhost:8888 to get a quick index of folders and files.

Not sure what has changed, but now no matter what version of MAMP I run, I'm not able to get my index of files in my browser... When starting servers I'm able to see that both the Apache and MySQL are green and I can even reach the WebStart page at http://localhost:8888/MAMP/?language=English

How can I get to this index so I can test my sites in the "user/documents/ sites" document root I've setup? When I go to http://localhost:8888 the page just keeps loading and never actually loads anything.

I've set the Apache Port to 8888 and MySQL to 3306 -- any other settings won't work at all.

Upvotes: 1

Views: 10274

Answers (3)

KUSHA B K
KUSHA B K

Reputation: 1489

Just open MAMP Application,then go to MAMP preferences then go to Ports then change the Apache Port to 8887 (you can give 1 - 65535 any value ) then click Ok after that Click the start server button after that it will works fine.

Upvotes: 0

Marlon Johnson
Marlon Johnson

Reputation: 1

I know this is late, but I would recommend going into your command line and type "ipconfig" and you should get your IPv4 which will return your IP address "172.31x.xx.xxx". After finding that, you should go to your File setting in Brackets and then go to your project settings and type in the URL http://172.xx.xx.xxx/.

It should work.

Upvotes: 0

PeterInWiesbaden
PeterInWiesbaden

Reputation: 177

Instead of http://localhost:8888 try your local ip address. Sometimes "localhost" doesn't work.

For the long run either install or local dns server or modify you 'host' file in /etc - you will need a fixed local ip address for this.

Peter

Upvotes: 0

Related Questions