

MAMP will restart itself with the new default ports configured. Click on Set to default Apache and MySQL ports. This led to a lot of wasted time and productivity. I hope this how-to guide saves you some hair and valuable time. This settings adjustment in MAMP is simple: Open up MAMP and hit the Preferences button. Only the default MAMP ports seemed to work, no matter what I set in the preferences. The following steps are based on you already having MAMP installed. It conflicts with Mac OSs Bonjur and causes a slow website.

If you are using XAMPP on Mac or Windows.
REMOVE 8888 FROM MAMP MAC OS
This is specific to the Mac OS MAMP package. HINT: Try not to use the extension name of. Also note that the address contains //localhost : 8888/moodlel9. Setting preferences in MAMP usually works without a hassle but I encountered this problem, today morning. Here is how I managed it using both Mac OS 10.10 (Yosemite) and MAMP version 3.0.7. The other problem that Ive had is when Apache is set through MAMP to open a particular folder and that folder no longer exists. You can turn off Apache manually in the terminal.
REMOVE 8888 FROM MAMP PASSWORD
The MAMP default database credentials are user root and password root. without removing or altering any system-level configuration. Type sudo apachectl restart to restart Apache. MAMP is a simple way to get a complete webserver environment going on. This will set the Apache and MySQL ports to respectively.

When I try to connect, Firefox and Chrome tells me they cant find the server. In preferences, I have set the ports to 8888 (Apache) and 8889 (MySQL). The web server (Apache) starts by default on port 8888, the database server (MySQL) on. I have been using MAMP for some years now without problems, but suddenly one day MAMP could not find localhost:8888. If you’re stuck with MAMP (or MAMP Pro) unable to use the default Apache and MySQL ports ( Port 80 and Port 3306 respectively) when you change them in preferences, use the following steps to ensure that the changes you make are saved and work: Use Add/Remove programs from Control Panel to uninstall MAMP.
