How to check the ports in use in Windows 10
At any given moment, a ton of information is sent between your Windows 10 PC and the Internet. This is done using a process in which network-dependent processes look for TCP and UDP ports through which they communicate with the Internet.
In most cases, Windows 10 knows how to manage ports and ensures that traffic is being diverted through the right ports so that those processes can connect to what they need.
But sometimes two processes can be assigned to a single port, or you want to have a better picture of what network traffic is going into and out of your network.
This article will show you an overview of the ports and find out which applications are using which ports.
Command Prompt method
Perhaps the easiest way to see which port is used by which process is to use a trusted Command Prompt.
Click the Start button , type cmd , then right-click on 'Command Prompt' when it shows up in the search results. Click 'Run as administrator' .
Once you are in Command Prompt with admin rights, enter the following command:
netstat -ab
This will continuously bring up a list of perhaps quite long ports, along with the Windows processes that are using them. (You can press Ctrl + A , then Ctrl + C to copy all the information to the clipboard). On an average PC there will be two main local IP addresses containing ports on the PC.
The first, in our case, is "127.0.0.1" . This IP address is also known as 'localhost' or 'loopback address' and any processes that listen for ports here communicate internally on the local network without using any network interfaces. The gate is actually the number you see after the colon.
Most of your processes will probably listen for ports prefixed '192.168.xxx.xxx' , which is your IP address. This means that the processes you see listed here are listening for communications from remote Internet locations (such as web pages). Again, the port number is the number after the colon.
TCPView
If you don't mind installing a third-party application and want more control over what's going on with all your ports, you can use a lightweight application called TCPView. The tool immediately lists the processes and their related ports.
What makes this tool better than the Command Prompt is that you can proactively see ports open, close, and send packets. Just pay attention to the green, red, and yellow highlights. You can also reorder the list by clicking on the column header, making it easy to find the process you want, or find two separate processes that compete for the same portal.
If you find a process or connection you want to close, just right-click on it. Then you can choose 'End process' , which is exactly the same function as in Windows task manager. Or you can click 'Close Connection' to let the process open but prevent it from listening on a certain port.
You should read it
- How to check the power of the USB port
- Check that the port port is open, the connection is being made in the system
- What is port 0 used for?
- How to connect printer 2.0 USB port to USB 3.0 port on Windows 10
- Summary of some simple ways to disable USB ports on Windows computers
- What is AAA PC Port? Why do they have so many problems?
- How to change LPT port in CMOS
- What is DVI port? Classification of popular DVI ports today
- Change port command in Windows
- How to convert WAN port to LAN on router
- Decoding HDMI sign (STB) on TV
- How to check the Port to prevent the computer from sending queries automatically
Maybe you are interested
ExpressVPN Now Supports Windows ARM PCs
Microsoft DirectML now supports PC Copilot+ and WebNN
How to check if your Windows computer supports Miracast
Common connection ports found on computers and their functions
Premiere Pro now has a version that supports ARM processors on Windows, what should you keep in mind?
How to check if iPhone supports RCS messaging