Home>Article>Operation and Maintenance> Is there any conflict between iis and apache?
Whether it is Microsoft's IIS or the world's number one Apache, the default web service port number after installation is 80. If IIS is already installed on your computer and you want to use Apache, you must first modify the former's default web service port 80, otherwise it may not operate properly.
How to change the Apache port
Find the httpd.conf file in the conf directory under the Apache installation directory. Open it, CTRL F to find "Listen", the number immediately following Listen is the port number, which is "Listen 80" by default. Can be changed to: Listen 8080. After making the changes, restart the Apache service to make the configuration take effect.
##How to change the IIS port Start->Run->Enter: inetmgr->Internet Information Services->Local Computer-> Website->Right-click "Default Website"->Properties->Select the "Website" tab->Modify the TCP port. Restart the IIS service to make the configuration take effect. If you change the default port number (for example, change Listen 80 to Listen 8080), you will not be able to open the web page located on the Apache server through http://localhost. You must add a colon port after the address. No., such as http://localhost:8080, only in this way can you access the web page located in the Apache server. For more technical articles related to Apache, please visit theApache Tutorialcolumn to learn!
The above is the detailed content of Is there any conflict between iis and apache?. For more information, please follow other related articles on the PHP Chinese website!