It's not a secret anymore!*
The moose likes Tomcat and the fly likes What process is using that port? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "What process is using that port?" Watch "What process is using that port?" New topic
Author

What process is using that port?

Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Hi all,

This is a public-service type posting. Many of us have been stumped by trying to figure out what process is running on a certain port on Windows. Unix world has it over us with the command "ps -ef"

Windows users have "netstat", but it is fairly uninformative (no pids or process names)

Try this out:
http://www.wugnet.com/shareware/spow.asp?ID=446

Works great!
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

or you can try this link:
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml
Rene


Regards, Rene Larsen
Dropbox Invite
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Thanks for the link, Mike. I guess I reveal myself as a Windows platform guy by saying this, but I have needed something like this more than once!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What process is using that port?
 
Similar Threads
JVM_BIND Exception in JBOSS-Port already in use.
IntelliJ and Frameworks
Find poert number
Small editor for Java, C++,C
comp not bound...port already in use...