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 trial

WordPress

Clara Hembree
Clara Hembree
11,401 Points

I get an error message customizing MAMP on a Mac.

I'm following along with Zac on the Customizing Your Local Server Setup on a Mac. When I get to the MAMP preferences to change the ports, I click on "Set Web & MySQL ports to 80 & 3306", click OK, and then I get this error message...

"There is a problem with the server ports. Each server must be assigned a unique port. Please check your configuration."

In Zac's video, he only has Apache Port and MySQL Port. Mine has three... Apache Port, Nginx Port and MySQL Port.

Thanks for your help!

Ilma Andayana
Ilma Andayana
12,146 Points

Hi Clara.. You have three ports since you use MAMP 3, while in Zac's video he used earlier version. You got the problem since the apache and sql have same port, try to change the apache port to 8000.

Chris Shaw
Chris Shaw
26,676 Points

One thing that I feel needs to be clarified is that Nginx was only recently integrated within the free version of MAMP therefore it won't appear in any courses on Treehouse so it's best to stick with the course as much as possible and only change what the teacher does to ensure you don't end up with a different result.

it would be really helpful to get a definitive answer on this one. As Chris points out, it's best to stick with the teacher in so far as is possible. I've set my Nginx port to 81 for the time being so I can continue with the tutorial. But I would like to know what Treehouse recommends.

2 Answers

Clara Hembree
Clara Hembree
11,401 Points

Perfect! Thank you, Ilma.

Can someone help me with Apache Port, Nginx Port and MySQL Port?

I have 80 as Apache Port, 80 as Nginx Port and 3306 as MySQL Port and I get the following error: "There is a problem with the server ports. Each server must be assigned a unique port. Please check your configuration."

I I choose something else, then I can't anything in PhpMyAdmin. It gives another erroe: "Error: Token Mismatch"