user2454016
user2454016

Reputation: 111

MAMP local host not working

My MacBook Pro 13 inch is running on OS X 10.8.2 and I have downloaded MAMP 2.1.4.

I want to run the MAMP program. After I connect to the servers successfully I then try to press the 'open start page'. It takes me to the Google Chrome browser with a page that says the page can't be found.

I've installed MAMP and am running the Apache server and MySQL servers fine through either port 80 and 3306 or 8888 and 8889 - using either combination makes the status lights go green. The local host can't be found for some reason.

I have done extensive research where I have:

What should I do?

Upvotes: 11

Views: 49158

Answers (8)

Nasreen
Nasreen

Reputation: 1

Faced the same issue and restarting the Apache servers got it resolved.

Upvotes: 0

S.Tahseen
S.Tahseen

Reputation: 11

Check MAMP>> preferences >> ports >> set MAMP ports to default

that will change ports to the following :

Apache >> 8888 Ngnix >> 7888 MySql >> 8889

Then (after pasting wordpress folder in the C:\MAMP\htdocs )it will work when you use http://localhost:8888/wordpress/

Upvotes: 1

Sandy
Sandy

Reputation: 21

I have faced the same issue in windows and observed MYSQL is working and Apache was not working. Then I change PHP version from MAMP-->Preference-->PHP. And Restart the server also. Then it start working. Hope it will help you also.

Note: If you using any other Apache application at 80 port then change for MAMP apache to 81 or 90 from Preference.

Upvotes: 0

Christopher Spence
Christopher Spence

Reputation: 1

If it helps, I had this same issue and was missing the following from my /etc/hosts file. I had to sudo edit this file, add these values (I added them at the top), save and restart MAMP.

127.0.0.1       localhost
::1             localhost

Upvotes: 0

Andreia Marques
Andreia Marques

Reputation: 11

Just make sure to have the wordpress folder in the right place after you download it! Should be: Macintosh HD> Applications> MAMP> htdocs> wordpress

Upvotes: 0

Aditeya Pandey
Aditeya Pandey

Reputation: 671

I had a similar issue, my hack was pretty basic: I rebooted my system and it worked. There is a chance that you have multiple instances of Apache running which is blocking the web application.

Upvotes: 0

Anzumana
Anzumana

Reputation: 381

I had the same issue i just changed the port for apache to 90 and connected then to http://localhost:90

127.0.0.1:90

respectively. Fixed it in my case. Hope that helps.


System iMac OS X Yosemite 10.10.1 MAMP 3.0.7.3

Upvotes: 10

Sean Jacobs
Sean Jacobs

Reputation: 11

I had the same issue on my Macbook Pro 15 inch running OS X 10.8.3.

I could access my wordpress development environment (MAMP 2.1.3) when disconnected from a network but if I connected to my wireless network or the internet via my HTC One XL i could no longer access localhost.

I removed my manually configured DNS settings for my wireless connection and happy days.. I could connect to my development environment using both Localhost and 127.0.0.1.

Upvotes: 1

Related Questions