How to modify the default web port of apache

  

After configuring IIS, it is found that port 80 is occupied by httpd.exe, how to solve the problem apache installed under windows2003, but now httpd.exe is forbidden to start, how to open?

Solution: 1. Locate the httpd.conf file in the conf directory of the Apache installation directory (ie d:\\Apache\\conf\\httpd.conf). Open it. 2. Find “Listen80”, followed by the number of the Listen is the port number, we changed to "Listen 8080”." Modify to other unused port numbers as well. 3. Restart Apache for the new configuration to take effect. You can use the Apache Serive Monitor in the status bar at the bottom right to start apache. You can also click “Start”>"Run>Enter cmd>Enter> to navigate to the apache installation directory to the bin directory and enter “httpd–k start”.

Copyright © Windows knowledge All Rights Reserved