Tuesday, March 20, 2007

Watch and Search Realtime Network Connections via Windows Command Line

I recently discovered a way of watching network connections in Windows in realtime without using a program like Active Ports. Simply run this command:

netstat -o 1

Check out netstat /? for more options, but this will show and update network connections from the local machine every second.

TO make this a bit more useful, use:

netstat -o 1 find "3389" - I use this example to show only connections using the Remote Desktop Protocol.

Useful to use with a server where 3rd party applications cannot be installed.

No comments: