I want to be able to figure out what port a particular program is using. Are there any programs available online or that come with windows that will tell me which processes are using which ports on my computer?
PS – before you downmod this for not being a programming question, I’m looking for the program to test some networking code.
netstat -b -alists the ports in use and gives you the executable that’s using each one. I believe you need to be in the administrator group to do this, and I don’t know what security implications there are on Vista.I usually add
-nas well to make it a little faster, but adding-bcan make it quite slow.Edit: If you need more functionality than netstat provides, vasac suggests that you try TCPView.