Remove or kill a port in XP

  • Thread starter Thread starter Richard (Tor)
  • Start date Start date
R

Richard (Tor)

Hi,

When I started my Tomcat in XP, it failed because it complained port
80 was already being used. I did a netstat -a and found that port 80
was used by UDP but I did not know which process was using it and why?

Is there a way to find out which program or process is using that port
80 and subsequently kill it because it should not be there?

Thanks in advance
Richard
 
Port 80 description is
http 80/tcp World Wide Web HTTP
http 80/udp World Wide Web HTTP
www 80/tcp World Wide Web HTTP
www 80/udp World Wide Web HTTP
www-http 80/tcp World Wide Web HTTP
www-http 80/udp World Wide Web HTTP

To see a list of open ports on Windows XP
netstat -a-n-o

For further information you can follow the following link
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netstat.mspx

You can follow this link also

http://www.cse.unsw.edu.au/~s2207530/Labs.html
 
1. Find the pid using netstat -a -n -o,
2. kill the process using taskkill /F /PID <number>

Hope this helps for the ppl who are still having similar questions.

-- Raghu Honawad
 
Back
Top