Questions about installing apache and nginx on one machine
Source: Internet
Author: User
I am confused about installing apache and nginx on one machine. today I want to install apache and nginx on my own machine at the same time. This is certainly not a problem, but I am confused about one problem, when we open a web page, what exactly does it work? during the original installation, nginx and apache's mo... I am confused about installing apache and nginx on one machine. today I want to install apache and nginx on my own machine at the same time. This is certainly not a problem, but I am confused about one problem, when we open a web page, which of the following is the function? during the original installation, the default listening ports of nginx and apache are both port 80, so nginx and apache can only start one, then the final result is who starts and who provides the service. Later I thought about how to change the nginx listening port so that both of them can get up. who will provide the service in the end? Originally, port 80 is open for http by default. The ip address: port of a website can be accessed, but port 80 provides services by default. Therefore, if apache or nginx listens to port 80, the port is omitted, all the questions are clear.
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