How to disable System service from listening on port 80 in Windows Server 2003

portservicewindows-server-2003

I'm trying to install a service on a Windows Server 2003 machine which is supposed to listen on port 80 but it fails to start because some other service is already listening on that port. So far I've disabled the IIS Admin service and the HTTP SSL service but no luck.

When I run netstat -a -n -o | findstr 0.0:80 it gives me the process id 4 as the culprit, but when I look at the running processes that process id points to the "System" process.

What can I do to get the System process to stop listening on port 80 and get my service to listen instead?

Best Answer

In W2K3, the kernel-mode driver HTTP.SYS listens for incoming HTTP and HTTPS connection attempts. You can configure the binding behaviour with the httpcfg.exe set iplisten -i x.x.x.x:y command. Have a look at some usage examples and the syntax and you'll figure it out.