Solve the Windows Server 2008 System process occupying port 80
My machine is 64 bit system
Netsata -year
80 PID 4 in any manager is system NT Kernel& System
I found that the following are occupying port 80
1. sql2008 occupation
solve:
If you just close the service, it will open when you use SQL . Maybe it's not the problem . Just change the port to something else.
2. World Wide Web Publishing Service
turn off this service
3. It is also possible that other programs running on your server occupy it
close unused ports
4.windows2008server
This program also occupies port 80. If you don't need it, turn it off.
5. Port 80 is occupied, so win+r runs cmd
Type netstat -ano
You can see that port 80 is occupied by PID4 , so open Task Manager - Process - View, select the column, and check PID
You can see that pid 4 is occupied by NT kernel & System
The process is Http.sys . It is the driver component of the http API , the Http stack server. If the port is occupied by Http.sys , it means that some applications using http.sys are running. This is what prevents Apache from running, because Http.sys occupies port 80 .
You can disable http.sys by following these steps :
1. net stop http ( * This operation, prompts that you cannot stop and needs to restart,,, when you run the second time, it will prompt that it is stopping or not starting * )
You may see that there are many related services, first see if you need them
After running Sc config http start=disabled
If it is impossible, you need to restart it to run,,,, I will restart it
When checking, it should not be occupying port 80 .