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

9

2

I have trouble identifying the application using port 25 on my Windows-10 system. Any useful hints to list used ports and using applications without 3rd party applications ?

Younes Regaieg

Posted 2016-01-12T14:49:55.800

Reputation: 283

From elevated command prompt type in NETSTAT -abn and then press Enter. – Pimp Juice IT – 2016-01-12T14:57:37.810

Answers

9

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.

Samuel Nicholson

Posted 2016-01-12T14:49:55.800

Reputation: 1 282

I have tried to google "Windows 7 list open network ports by program" and got this as first match. I'm looking for a tool that once I have saw from a friend, and don't remember it's name. – Adam L. S. – 2017-05-22T11:24:57.673

7

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

masgo

Posted 2016-01-12T14:49:55.800

Reputation: 1 541

2

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.

user544199

Posted 2016-01-12T14:49:55.800

Reputation: 21

0

netstat -n from the command line will show you a list of IP addresses and open ports on your computer. A web search would probably be best in determining what is running on a particular port, but here's a few resources you could check open ports against:

EDIT: user544199's netstat arguments looks to put out some more useful information than mine. I would use that.

DontCopyThatFloppy

Posted 2016-01-12T14:49:55.800

Reputation: 131