Apache and IIS 7 running together

前端 未结 5 1974
陌清茗
陌清茗 2020-12-30 04:05

I am working on windows 7. IIS 7 and XAMPP are installed on the same computer. I have been playing with win host file and apache configuration files into to understand Serv

5条回答
  •  长情又很酷
    2020-12-30 04:24

    I have faced the same problem. However I have solved this way. I got it from here, it was really effective for me when all solutions were unable to provide me absolute solution.

    1. Go to Control Panel > Administrative Tools > Click Services
    2. Find “World Wide Web Publishing Service”
    3. Right click and select “Stop”
    4. Right click and select “Properties”, then change “Startup type” to “Manual”

    If this doesn’t fix it, you can find out what is using port 80 as follows:

    In a Command Prompt, run ‘netstat -ao > netstat.txt’ to write active connections and associated process IDs (PID) to a file (for me, there were too many to just view them in the command prompt) Find the PID that is listening on port 80 (0.0.0.0:80) – for me, the PID was 4, which seems quite common Open Task Manager (Ctrl + Shift + Esc), right click on the column headers, and then click PID to show the PID column. Sort by PID to find the process for the PID that you identified above. Once you know the process that is causing the problem, a bit of Googling (other search providers are available) should help you fix it.

提交回复
热议问题