How to find listening open ports on my computer ?
You can use the NETSTAT command to quickly see all the used and listening ports on your computer. Note it is not a complete substitute for a port scanning tool. If you'd like to have your computer remotely scanned for vulnerable open ports use our Security Scan instead.
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.
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. 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).
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
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.
The netstat command has a number of other useful command line parameters, you can see short description of all of them using: netstat /?
You can see process identifiers using the following command at the command prompt: tasklist and tasklist /svc
Newer Windows versions can also get a list of ports through the Windows PowerShell, using the Get-NetTCPConnection command.
It is also a good idea to perform an outside security port scan to see what ports are open to the Internet. See: SG Security Scan