How to find exe listening on port?
I try with netstat -ab -p tcp -n and among the results get:
TCP 0.0.0.0:47001 0.0.0.0:0 LISTENING
Can not obtain ownership information
I am running as administrator and get that message. I also downloaded a utility to show network activity for exe's but nothing open is listening on port 47001 according to the utility.
How can I find out what is listening?
Solution 1:
Try netstat -o
to get the process id (PID) and then use tasklist |findstr <pid>
to see the process name and type. Task Manager also shows PID and process name.
You can combine your other switches with -o
like so: netstat -bona -p tcp
Solution 2:
Since your talking about windows, you can use "netstat -b" to see which executable is using that port.
Alternatively, Sysinternal's TCPVIew does the same, but in a much better way.
Solution 3:
http://www.iana.org/assignments/port-numbers lists this port as: winrm 47001/tcp Windows Remote Management Service Ryan Mack rmackµsoft.com 29 April 2009
Now that doesn't prove that's what using it on your computer, but it's a pretty good guess.