How to Check Used Ports in Windows 10
SoftTech Tutorials
How to Check Used Ports in Windows 10
0:00 Intro 0:17 Ports in Use Netstat 1:57 Tasklist 2:35 Resmon Link Port -PID
https://softtechtutorials.com/windows/how-to-check-used-ports-in-windows-10/
In this short tutorial, I’m going to show you how to check which ports are in use on your Windows 10 PC. After that, I’ll show how you can link these ports to a specific process.
Let’s get started. Click on the windows search bar and type in CMD. Right-click on it and select to run it as an administrator.
The first command is netstat -a. This is going to give us an overview of all of the ports that are in use. These ports aren’t necessarily open to all sorts of traffic as a lot of them are going to be in listening state.
We can expand this to netstat -aon to give you some more useful information. By adding the ‘o’, you list the ports in numerical order. The ‘n’ adds an extra column PID which is the process identifier. This is probably what most people are going to be interested in. So, each process on your computer has a unique ID.
You can recognize the port number from the last part of the local address. The number after the colon is the port number.
Netstat has a few other options to explore. By typing netstat -h you get an overview of the syntax and usage of a command.
So let’s say that we want to know why port 49665 is in use. On the right side, you see that the PID that uses this port is 732. To check this, we have quite a few options.
I’ll show you how to check this in CMD first. With the tasklist command, you can show all of the processes with their PID. Enter tasklist in CMD. You can now search for your PID, in our case, we see that wininit has PID 732. That means that port 49665 is used for wininit.
Ports 47984 and 47989 both show that they are in use by PID 5712. We will now switch to the resource monitor. You can open this in CMD by typing the command resmon.
In the overview tab, we have the PID column. So, this shows that Ports 47984 and 47989 are both in use by NVIDIA processes.
I'm inspired by creators as TechGumbo and Tech Insider. This concludes our short tutorial on how to check used ports in Windows 10.
#Windows10 #tutorial #HowTo ... https://www.youtube.com/watch?v=qpjl4ow0EcU
18378248 Bytes