Nginx on mac cannot listen to port 80

Source: Internet
Author: User
I installed nginx with brew, modified the configuration file, and tested it as follows because apache on mac occupies port 80, I stopped apache first. Now port 80 has no program listening, and then I started nginxsudong.pdf. So the problem is, Why port 80 is not... I use BrewInstall nginx and modify the configuration file as follows:

Then the test is OK.

Because apache on mac occupies port 80, I will stop it first.

Now port 80 has no program listening

Then I start nginx Sudo nginxWhy is port 80 not monitored ......

Thank you for your advice.

Reply content: I use BrewInstall nginx and modify the configuration file as follows:

Then the test is OK.

Because apache on mac occupies port 80, I will stop it first.

Now port 80 has no program listening

Then I start nginx Sudo nginxWhy is port 80 not monitored ......

Thank you for your advice.

MAC comes with APACHE and stops APACHE.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.