How to Check Open Ports in Windows 10?

Windows 10 is the latest and the greatest in the long line of operating systems offered by Microsoft. It is constantly updated and many bug fixes are offered in these updates. Ports are used by all applications to communicate with the internet. These ports need to be opened by the application, automatically or in some cases, manually, by the user.

How to Check Open Ports in Windows 10

In most cases though, the ports are opened automatically and the user isn’t informed about the ports that are opened when an application is installed. Therefore, in this article, we will discuss the method to check what ports have been opened on your computer. Make sure to follow the instructions carefully and accurately to avoid conflict.

How to Check Open Ports in Windows 10?

All applications installed on your computer that is communicating with the internet need to access a port on your computer in order to do so. Windows records the applications listening on a port and this record can be checked by the user anytime. There are, however, many methods to check this record. In this article, we have listed two of the easiest one which won’t require the installation of any third-party application.

Method 1: Using AB Command

In order to identify the application that is listening to a particular port on our computer, we will be using the “AB” command in the command prompt. This will list the name of the executable that has made the request to listen on the port. For that:

  1. Press “Windows” + “R” to open Run prompt.
  2. Type in “cmd” and press “Shift” + “Ctrl” + “Enter” to provide administrative privileges.
    Typing cmd in the Run Prompt and pressing “Shift”+ “Ctrl” + “Enter”
  3. Type in the following command and press “Enter” to execute it.
    netstat -ab
    Typing in the command and executing it
  4. Wait for the list to be displayed, the name of the executable will be shown below the port information.
    The name of the executable is displayed below the port information

Method 2: Using AON Command

There is another command that can be used to identify the process that is listening on a particular port. This command will show the PID number instead of the executable’s name. In order to use this command:

  1. Press “Windows” + “R” to open the Run prompt.
  2. Type in “Cmd” and press “Shift” + “Ctrl” + “Enter” to provide administrative privileges.
    Typing cmd in the Run Prompt and pressing “Shift”+ “Ctrl” + “Enter”
  3. Type in the following command and press “Enter” to execute it.
    netstat -aon
    Typing in the command and pressing “Enter” to execute it.
  4. The list will be displayed with a PID number at the end.
    PID numbers are listed at the end of the list
  5. Note down the PID number, press “Windows” + “X” and select “Task Manager“.
    Selecting Task Manager after pressing Windows + X
  6. Click on “Details” to view all running executables.
    Clicking on “Details” in the task manager
  7. Match the noted PID number with a number in the list, right-click on the executable that matches the number and select “Open File Location“.
    Right-clicking on the process and selecting “Open File Location”
  8. This will open the location of the application that is listening to the port.

Kevin Arrows


Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

How to Check Open Ports in Windows 10?

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested

Close