Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

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

1 Answer 1

up vote 3 down vote accepted

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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