Wednesday, August 30, 2006

Watch for Open Connections

Ever wondered what network connections your computer has open? Well... open a Command Prompt (I won't tell you how to do that) and type "netstat" (without quotes of course!) and take a look at the list (you are interested in the ones with "ESTABLISHED" status).
Next try some variations: "netstat -a" which will display all connections, open and listening too (listening connections are the ones that your computer will accept if someone else tries to access them). Add the "-n" parameter to skip resolving of host names and see the IPs instead like "netstat -n" or "netstat -a -n".
Type "netstat /?" to see a list of all available options.

No comments: