Trying to get WAMP working again, and testing to see that the Apache server is working. It keep saying port 80 is being used by Server: Microsoft-HTTPAPI/2.0 - I've removed IIS, I've removed SQL Server 2008, etc, etc, etc - I can't find anything that would be causing this!

What else could it be other than SQL Server 2008 and IIS?

link|improve this question
Netstat -a should tell whats listening/established on that port. – Kyle Dec 20 '11 at 21:32
feedback

1 Answer

Open a command prompt using "run as administrator" and type netstat -ab

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:80             Computername:0         LISTENING
 [httpd.exe]

You can then find httpd.exe (or whatever program is listening on port 80)

If you use netstat -ao it will tell you the process id,

Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:80             Computername:0         LISTENING       4872

You can then find this process-id (PID) in Task Manager (check the "services" tab)

Task Manager

link|improve this answer
It says "Cannot find ownership information" – Andrew Alexander Dec 20 '11 at 21:41
PID is 4, however there is no "4" in the services tab of task manager. – Andrew Alexander Dec 20 '11 at 21:42
@AndrewAlexander: Ah - that's "System"/"Services" (see output of taskslist command). Which isn't helpful (at least to me) in working out what is using port 80. I'm out of ideas. – RedGrittyBrick Dec 20 '11 at 21:56
feedback

Your Answer

 
or
required, but never shown

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