Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTaylor Culver
Front End Web Development Techdegree Graduate 30,111 PointsChanged Port to 80 after installing MAMP, however the apache server doesn't start.
Unable to install MAMP appropriately
3 Answers
James Gill
Courses Plus Student 34,936 PointsTypically, Apache's at port 8888 for MAMP, not 80. and mySQL at 8889. You don't need to do any of what James described above.
James Andrews
7,245 PointsOS X comes with apache installed by default. This creates a port conflict with MAMP because only one application can use a given port at any given time. The solution is to go to
If you're using a version of OSX before Mavericks (I read maybe also before mountain lion but I can't confirm) Apple Icon -> System Preferences -> Sharing -> Web Sharing (uncheck)
If you're using Mavericks (or maybe mountain lion) then you'll have to disable it by opening up terminal and using the following command.
sudo defaults write /System/Library/LaunchDaemons/org.apache.httpd Disabled -bool true
make sure to restart your computer afterwards or run the command to stop the current apache process
sudo /usr/sbin/apachectl stop
Taylor Culver
Front End Web Development Techdegree Graduate 30,111 PointsAppreciate the hand guys - thank you!
James Andrews
7,245 PointsJames Andrews
7,245 Pointstypically yes, but having to put the port in all the time is a pita when you can just type localhost.