C:\> netstat -ao |find /i "listening" To see all open, closing, established and listening ports, simply use: C:\> netstat -a (or netstat -ao in XP/Win2k3) You can also make the netstat command refresh periodically by adding a number of seconds at the end, for example, to make it refresh every 5 seconds, use something like: C:\> netstat -an 5 See Also: Ports database - check the ports in our extensive database of over 10,000 port numbers and their associated applications/vulnerabilities Security scan - test to see if common ports are open onto the internet. You can then use those process ids (PIDs) to find out the name of the processes associated with open/listening ports in the Windows Task Manager (the "Details" tab lists process ids). It is very useful to also use the -o switch with the netstat command to get a list of all the owning process ID associated with each connection. To see a list of listening ports, open Command Prompt and type: C:\> netstat -ano |find /i "listening" You can change "listening" to "established" to see what ports your computer actually communicates on at the moment. If you'd like to have your computer remotely scanned for vulnerable open ports use our Security Scan instead. Note it is not a complete substitute for a port scanning tool. You can use the NETSTAT command to quickly see all the used and listening ports on your computer.
0 Comments
Leave a Reply. |