|PC secretly connecting unknown websites|
What is “netstat”(Network Statistics) command.
Operating System supporting “netstat”(Network Statistics) command
How to run “netstat”(Network Statistics) command
Copy and paste or type the following command in the command prompt-
Wait for some time (About two minutes) and then press Ctrl + C to stop the recording.
Now simply open the activity.txt file in your favorite editor to see the results.
If you type activity.txt at the command line the file will open in Notepad.
Explanation about “netstat” command syntax
–b to shows you what application is making the connection, and the
–f to displays the full DNS name for each connection
5 to poll every 5 seconds for connections to make it more easy to track what is going on, and the results are then piped into the activity.txt file.
To display the IP address only you can use –n