The default Apache port 80 is used, causing service failure. The default apache Port
In practice, when running the Apache service, you may find that the default port 80 of Apache is occupied and the service cannot be started. However, you can find out which process cannot be used, how should we solve the problem at this time?
1) run the netstat-ano command in cmd to check which process occupies port 80.
2) then go to the task manager to close the process with PID 4 (the PID 4 is not found ).
Go to the tasklist command of cmd to check which program occupies PID process 4.
4) The result is System. However, the System program cannot be found in the task manager. It must be a ghost of the HTTP service. Run the netsh http show servicestate command.
5) It is found that PID 3268 occupies port 80 and ends the process directly in the task manager.
This article mainly introduces some O & M problems encountered when the default Apache port 80 is used up and cannot start the service.