What's running on port 80 in Windows?

Published:

Trying to set up Apache on a server, something is hogging port 80, but very "helpfully" the Resource Monitor just reports "System" with PID 4... not helpful.

However, some commands I found in a StackOverflow answer and its comments were helpful:

netsh http show urlacl
netsh http show servicestate
net stop http

📝 Do not just run these commands blindly and turn off services (in particular you should probably answer N when the last one asks...), but use them to identify what service(s) might be to blame. Then do an intelligent decision on whether the service is needed or not, before you potentially stop it and disable it...