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 Local WordPress Development Local WordPress Development Customizing Your Local Server Setup on a Mac

What is the Nginx Port Number? I see that Apache and Nginx cannot have the same value.

Apache Port : 80 Nginx Port : 80 MySQL Port: 3306

This gives me the following error:

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

3 Answers

Joseph Franco
Joseph Franco
11,586 Points

yeah that worked for me also, but the question is: "what is the NGinx port number?" and i'll take it a step further and ask for a clarification of what is Nginx; what is it's purpose, what is it used for etc. . .

Hi Joseph,

It was the question you're correct. I wasn't familiar with it to advise (tried to help with the error that was posted instead) but from a quick Google search here's the info on Nginx.

Hope that helps

-Rich

Rafael Batista
Rafael Batista
7,691 Points

Hi Joseph. Nginx is web server software, like Apache. It is not as feature-rich as Apache, but is lighter and faster. Due to this, it's being increasingly used on high-performance contexts and to deploy applications built on other platforms (such as Python/Django).

WordPress is a bit intertwined with Apache, but with plugins like Nginx Helper you can try using Nginx too.

Hi,

Leaving Nginx at the default 7888 worked for me.

Hope that helps

-RIch

Joseph Franco
Joseph Franco
11,586 Points

Hey rich, I hope I didn't come off as an ahole. I was just looking for the same answer and just re-read my response. I meant no disrespect whatsoever. The link does help, thank you. My concern is that some of the vids are outdated a bit and need to be redone to keep up with the ever changing field that is the interwebs =) I love treehouse, it's taught me a great deal but I feel that some vids do need a facelift. Like the one we are chatting about now.

No worries. Glad the link helped.

-Rich