Windows netstat tip


If you debug a lot your Windows computer and you need to issue the netstat -ano command, it’s often hard to see if a services is listening on the correct ports.

I find a small tip to quickly find that information.

In taskmgr.exe you right click the first coloum to display the PID, as such;


After that you can see a normal list from netstat -ano;


As you can see the list can be quite big, as such the tip is simply to parse the netstat -ano with a findstr command.

That way; netstat -ano | findstr “PID”

I tested it with the PID 5700, the steam client, for that result;


As you can see the list is really easier to read with that small tip ! 🙂


Thanks everyone


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s