MAMP local host not working

后端 未结 7 2005
北恋
北恋 2021-02-08 10:50

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

相关标签:
7条回答
  • 2021-02-08 11:24

    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/

    0 讨论(0)
  • 2021-02-08 11:25

    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
    
    0 讨论(0)
  • 2021-02-08 11:31

    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.

    0 讨论(0)
  • 2021-02-08 11:35

    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.

    0 讨论(0)
  • 2021-02-08 11:37

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

    0 讨论(0)
  • 2021-02-08 11:38

    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.

    0 讨论(0)
提交回复
热议问题