1. Start->Run->cmd ( Go to command prompt)
2. Use command as follows to get a list of listening ports in your system.
C:>netstat -an |find /i “listening”
Step 2
So you have the list of listening ports. Now if you wish to have a hard copy of the list or you wish to Store it as a list. Of course you can copy from the windows displayed but that doesn’t seem neat. There is a small command which can help you store this list as a .txt file.
C:>netstat -an |find /i “listening” > c:’openports.txt
Step 3
You can also get a list of established connections by replacing the ‘listening’ by ‘established’ in the earlier command.
C:>netstat -an |find /i “established”
No comments:
Post a Comment