How to list open ports and application using them in windows?

Without the use of any external software. Open a command prompt:

  1. netstat -abn

OR

  1. netstat -a -n -p tcp -o

Within Task Manager -> Processes/Details Tab

You can match the PID against the result of the second netstat command above, you can then find the image name/end the process etc if required.

There's also plenty of third party applications that can simplify the process and make the information easier to read, simple Google search if you want to find them.


A GUI solution would be to use the Ressource Monitor of Windows. You can start it by pressing START and entering this command: Perfmon /Res

Then you can click on the Network tab to view all network connections, listening ports, etc.

Here is a screenshot how it looks like: enter image description here


Open a command shell and run

netstat -a -n -p tcp -o

No need to run as administrator.

The last column is the PID. You can look up this PID in the task manager. Be sure to activate "show processes of all users" there.

See the documentation for netstat.