To find open ports on a computer, you can use netstat command line.

  • To display all open ports, open DOS command, type netstat and press Enter.
  • To list all listening ports, use netstat -an |find /i "listening" command.
  • To see what ports your computer actually communicates with, use netstat -an |find /i "established"
  • To find specified open port, use find switch. For example, to find if the port 3389 is open or not, do netstat -an |find /i "3389".
  • You can use PULIST from the Windows Resource Kit to find which process is using a specified port. For example, pulist |find /i "1234" may display

Process PID User
abc.exe 1234 test/smith

Or you can use tasklist to find PID.

You can also use websites such as "" to scan for open ports.