Change MAMP to Default Apache and MySQL ports

Sep 16, 2010 - 2 Comments

MAMP in OS X

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_ports

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.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

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

2 Comments

» Comments RSS Feed

  1. Otto T Freeman says:

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

  2. Marie-Rose says:

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

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

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