How to Change MAMP to Default Apache and MySQL ports

Sep 16, 2010 - 2 Comments


MAMP is a great app for Mac OS X that lets you quickly and easily run an entire pre-configured web server on top of Mac OS X, it’s really helpful and I use it frequently for web development and testing web projects. Perhaps the only issue with MAMP is the port settings, which by default they are set to 8888 and 8889, so instead of being able to visit localhost you have to load localhost:8888.

Thankfully this is easy to change, and you can quickly configure MAMP to use the default ports for Apache and MySQL, allowing you to interact with localhost without specifying an additional port number. This settings adjustment in MAMP is simple:

  1. Open up MAMP and hit the Preferences button
  2. Click on the Ports tab
  3. Click on “Set to default Apache and MySQL ports
  4. Click OK


MAMP will restart itself with the new default ports configured. This is the first thing I do when I setup MAMP on a Mac and I find it makes working with the app much more natural.

And yes, I realize that Mac OS X comes with Apache server by default, but in my opinion nothing beats MAMP for it’s simple setup if you need to quickly deploy a web server for development or testing purposes.


Related articles:

Posted by: William Pearson in Mac OS, Tips & Tricks


» Comments RSS Feed

  1. Marie-Rose says:

    I did that but my Apache remains RED
    (Mac OS X Mountain Lion)

  2. Otto T Freeman says:

    MAMP Pro is definitely worth all the tea in China:-)

Leave a Reply


Shop on and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks


iPhone / iPad



Shop on Amazon to help support this site