Start Command Prompt
- Hit the combination key of Windows+R (or start run window)
- Type cmd and hit enter.
- This will open the command prompt
Check which process is using port 80
- On the command prompt window, type the following command.netstat -o -n -a | findstr 0.0:80
- You’ll see an outcome like the one below.
- The last column is what is called as the process ID column.
Open Task Manager to check the process ID
- Right click on the taskbar to open the the task manager.
- Go to the Processes tab.
- Click the View menu
- And make sure you select the PID (Process Identifier) as shown in the image below.
- Now you’ll be able to see which process is using the PID in question. In my case the process ID was 4 which stood for NT AUTHORITY/SYSTEM.
I was naive and hence I killed that process. BANG! I had a blue screen of death (BSOD). Apparantly this is an important process comprised of various services. So I googled a bit to find that the service in question was (the one using port 80) “World Wide Web Publishing Service (W3SVC)“. This was the service using port 80. All I did next was to go to the service and stop it. To stop this service:
- Go to Task Manager.
- Click the Services tab
- Arrange the Services by description.
- Look for something that reads World Wide Web Publishing Service in the description column
- Right click on it and select Stop Sevice.
Restart your Apache Web Server and you’ll be delighted to see that the server is up and running. Please do drop in a line to abuse Miscrosoft for dumping the shit on users
No comments:
Post a Comment