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

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:

Works great!
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

or you can try this link:

Regards, Rene Larsen
Dropbox Invite
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!
I agree. Here's the link:
subject: What process is using that port?
It's not a secret anymore!