How to Check TCP/IP Ports in Windows?

Hello, Please let me know how to Check TCP/IP Ports in Windows? I want to Check TCP/IP Ports in Windows. So can anyone have any idea?

Aves

  0 3 months ago 1 Ans 1511 Views Windows 10
Reply
Answer Link
Open Answer 26 May 2021

Check TCP/IP Ports in Windows

Whenever an application is made available on the network, then it means that it has an IP port that cannot be used for any purpose other than that. So, how exactly do you check the open ports and get to know which app is using it. An IP address distinguishes one computer device to another on the network.

When one device sends traffic to another device, then the use of IP address comes into the picture as it helps in taking the traffic to the right place. When the traffic reaches the right destination, then the device is required to work on a service or device, which can be used for sending the traffic. That is exactly where we use the ports.

An IP address is very much similar to a name of an individual who receives a mail on the place where he resides. Generally, there is no need for you to worry about the ports.

However, you may come across an application, which has been set for listening to the traffic on the same port, which is being used by another app. Here we are going to leran how to check TCP or IP ports in Windows 10.

Inbuilt Tools for Listening to the Ports

There are two tools that you can see on the list. In the first list you are going to see active ports together with the process’ name which is using it. Generally, you will see that the command is working perfectly. However, there will be times when it will be difficult for you to locate or detemine the service or app that is connected to the port. For that, you will be required to create a list of active ports as well as their process identifier numbers and then search for such processes in the task manager.

a) View Port Together with the Name of the Process

To check TCP/IP ports on Windows, the first thing that you are required to do is to open the command prompt in the administrator mode. Go to the Start menu and then enter “Command” in the search box.

After that, you are going to see command prompt showing up in the results. When that happens, right click on it and then select “Run as administrator”. After opening the command prompt, enter the text netstat.ab. 

After that, press the enter key and then the results will appear before you in a few minutes. Go through the entire list and then search for the port and then you will see the name of the process given below that line.

If you wish to make things simpler, then that can easily be done by piping the results on the command. After that, you can start looking for the text file on the port number which you are after.

b) View Port Together with Process Identifiers

In case the port name is making it difficult for you to identify the app that it is connected to, then you must see a version of command,which makes use of process identifiers also known as PIDs instead of the name.  Enter the text “netstat-aon”in the command prompt and then press enter.

At the far right column, you are going to see the process identifiers. Start searching for the PID that is connected to the port, which you wish to troubleshoot. After that, right click on the open space on your taskbar and then launch Task Manager.

In case you are a user of Windows 10 or Windows 8, then move to the “Details” app in the Task Manager. If you are a user of old version of Windows, then you will be able to access these details on the “Processes tab”.

Go to the column of PID and then sort the list of processes and then search for the process identifier, which is connected to the port that you are investigating. You will be able to give more details about the service or app has the port connected by going to the column of description. 

So, the above-mentioned are a few things that you need to do in order to check TCP / IP ports on Windows. Basically, there are two tools for listening to the ports. One is the view port together with the process name.The other one is view port along with PIDs or Process Identifiers. 

Write your answer for "How to Check TCP/IP Ports in Windows?"

John Oxley

Member Joined 4 years ago

Level 1 Active 2 hours ago

Chat with
Technical
Experts