Today I no longer can start my xampp which uses localhost, since something else is using it, so my xampp complains.

When I check hte browser,it returns a proper 404 as well, so something is abusing it.

Any tips on how to see what is serving there?

link|improve this question

45% accept rate
netstat -nao | findstr ":80\>". Also search Google "pid 4 + port 80". – quanta Oct 2 '11 at 10:28
feedback

1 Answer

  • open command prompt / powershell
  • run netstat -o to get a list of processes with active network connections
  • find the one running on port 80, and get its process id (PID)
  • open task manager, go to the processes tab
  • find the process name, with the ID youve just obtained.
link|improve this answer
On Windows, netstat -b will list the name of the executable listening on the local address/port. This requires an elevated cmd prompt. – jscott Oct 2 '11 at 13:28
Thanks, I ran cmd as administrator, and this is what is showing for port 80, PID is showing as 0 TCP [::1]:80 mycomputerid:56817 TIME_WAIT 0 TCP [::1]:80 mycomputerid:56818 TIME_WAIT 0 TCP [::1]:80 mycomputerid:56819 TIME_WAIT 0 TCP [::1]:80 mycomputerid:56821 TIME_WAIT 0 TCP [::1]:80 mycomputerid:56822 TIME_WAIT 0 TCP [::1]:80 mycomputerid:56825 TIME_WAIT 0 TCP [::1]:80 mycomputerid:56826 TIME_WAIT 0 ... – giorgio79 Oct 2 '11 at 15:49
feedback

Your Answer

 
or
required, but never shown

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