Windows Networking – How to Find EXE Listening on Port

networkingportswindows

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?

Best Answer

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