Server - apache and IIS occupy port 80 at the same time. Which one should be changed?
滿天的星座
滿天的星座 2017-05-16 16:59:27
0
2
585

Which one should be changed? How much should it be changed to? ?

滿天的星座
滿天的星座

reply all(2)
PHPzhong

Update:
I think the poster is using Windows, but it is difficult to use nginx. Let’s solve it in apache. Set up a virtual host in apache, and then proxy it to iis.

Original answer:

Same as above, set up nginx on the front end, give 80 to Nginx, then make a virtual host and proxy to apache, iis, tomcat, nodejs and other services.

过去多啦不再A梦

Modify it depends on which service your port 80 needs to correspond to.
apache and IIS must run different services.
Choose your main service to use port 80.
Another option is to choose any unoccupied port such as 8080 code>8080
然后再用nginxThen use nginx as a reverse proxy to this port

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template