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?

link|improve this question

80% accept rate
feedback

2 Answers

up vote 5 down vote accepted

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.

link|improve this answer
1  
Or you could just configure any web site configured to listen on port 80 to listen on another port. ;) – joeqwerty May 13 '10 at 3:02
So you're sticking with the Unicorn then? – joeqwerty May 13 '10 at 3:09
If the service in the question uses HTTP.SYS it should be able to work alongside IIS, both on port 80. If not (i.e. the service opens port 80 directly) then nothing else (including any service or application that uses HTTP.SYS) can use port 80. – Richard May 13 '10 at 8:22
That did it. I had to delete port 80 from the iplisten list for HTTP.SYS. – Miky D May 13 '10 at 15:52
feedback

The IIS Admin service wouldn't be installed if the World Wide Web Publishing service wasn't also installed, so that's my guess as to what's listening on port 80. Have you checked to see if the World Wide Web Publishing service is running? You'll probably find that it is. You'll need to stop it or configure the default web site (and any other web site) to listen on a port other than 80.

link|improve this answer
I've already disabled the World Wide Web Publishing service and it didn't change anything. I'm at a loss.. – Miky D May 13 '10 at 13:05
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.