Apache installed, cannot be installed as a service, prompting port is already occupied.
Using Netstat-ano | Findstr "80", found that the 80 port is actually the system process.
This process is a system process and you cannot quit by forcing it to terminate.
The installed IIS has swapped for a different port, why is this?
Finally, the service can be stopped, one by one to stop.
After you stop SQL Server Reporting Services (MSSQLSERVER), the occupied ports are freed!
It turns out that this reporting service for SQL Server 2008 is causing trouble!
Windows view a port number is occupied and ends this process
1, Netstat-ano |findstr 80//See if 3306 port exists
2, Tasklist |findstr 3036 (PID number)//view PID 3036 is what program in use
3, taskkill/t/f/pid 3036//Force (/F parameter) Kill all processes with PID 3036 including sub-process (/T parameter)
Install Apache 80 port is occupied PID 4