Use+NETSTAT+to+find+out+what+your+computer+is+connecting+to

If you want to know exactly what network connections your XP SP2 (or Windows 7) computer has open right now, you need **NETSTAT.**
 * Use NETSTAT to find out what your computer is connecting to**

This is a command line utility that comes with Windows and it is very useful for viewing a list of every computer to which yours is connected during a specified time frame.

Here is how :- This will generate a list showing all connections, the applications that are making those connections and the DNS name of each connection. The data will be recorded to a text file. It will start recording when you enter the command and stop when you press **CTRL+C**.
 * 1) Log on as an administrator
 * 2) In the Run box, type without the Quotes "**cmd.exe**" to open the command prompt window
 * 3) At the prompt, type without the Quotes "**netstat -abf 5 > activity.txt**"

You can use Notepad to open the activity.txt file (just type without the Quotes "**activity.txt**" at the command line and it will automatically open in Notepad).

The list will show all the applications that have connected to the Internet during the time the data was being recorded and the websites to which programs were connected.