How to know which ports on your PC are open

There are several tools and methods that we can use to analyze the status of the ports on our computer. If you want to know Which ports on your PC are open?In this post we explain it to you in detail.

This is a basic issue for the connectivity of our equipment, so we must give it the importance it deserves. After all, ports are physical or virtual connection points that make communication possible between the computer and other external devices, as well as with networks.

Symbol of the system

netstat aon

As for many other tasks, the CMD or Symbol of the system It can also help you in the task of finding out which ports on your PC are open. All we have to do is follow these steps:

  1. To start, we open the command prompt using the key combination Windows + R. In the search bar that appears, we write cmd and press Enter.
  2. Then we enter the command «netstat -aon»
  3. A list of active connections will then appear on the screen, along with the corresponding open ports.
Exclusive content - Click Here  Sunflower oil vs. Vegetable oil: What is the best option for your health? Discover their differences here

To understand exactly what information we are seeing, it is necessary to explain the meaning of each of the columns:

  • Proto : Mark the protocol type (TCP or UDP)
  • Local address identifies the local IP address and port.
  • Foreign Address refers to the remote IP address and port.
  • State mark connection status (LISTEN, ESTABLISHED, etc.)
  • PID is the column that identifies the process that is using that port. This can be useful to know which program is using a certain port.*

(*) This can be found out by typing the PID number in CMD and typing the command as follows:

tasklist | findstr

PowerShell

powershell

As Windows users know, PowerShell is a command-line interface as well as a scripting language. scripting, designed primarily to automate operating system administration tasks and manage applications. That's why it will also help you to know which ports on your PC are open. Here's what to do:

  1. First we use the keyboard combination Windows + X and we select Windows PowerShell (Administrator).
  2. To see the open ports we enter this command: Get-NetTCPConnection | Where-Object { $_.State -eq 'Listen' }
  3. Next, you will be able to see on the screen the PC ports that are in LISTENING state.
Exclusive content - Click Here  Sunflower oil vs. Vegetable oil: What is the best option for your health? Discover their differences here

Windows firewall

Which ports on your PC are open?

Third method to know which ports on your PC are open: check it in the operating system firewall rulesTo access them we must follow these steps:

  1. First we go to Control panel from our PC.
  2. There we select Security system.
  3. Then we click Windows Defender Firewall.
  4. In the menu on the left, we select Advanced settings.
  5. Finally, in the firewall window, click on the options «Entry rules» y «Exit rules»There we can see which ports are allowed and which applications have access to them (see image above).

Find out which ports on your PC are open with third-party applications

aps

Finally, a brief reference to some external applications that will help us solve the question raised in this post. These are some of the ones that can best help us find out what we want to know:

Advanced Port Scanner

This free scanner is one of the easiest options for checking open ports on our PC. In addition to this, Advanced Port Scanner provides information about different network devices.

Exclusive content - Click Here  Sunflower oil vs. Vegetable oil: What is the best option for your health? Discover their differences here

Link: Advanced Port Scanner

Angry IP Scanner

One of the most popular tools for Windows users to perform this task. The interface of Angry IP Scanner It is very intuitive and easy to use. We can use it to scan all types of networks, find out which hosts are connected to them and which ports are open on our PC.

Link: Angry IP Scanner

Nmap

Nmap is a completely free and open source tool, although Only recommended for advanced users. It is useful for a lot of things. It has a specific command to check the computer's ports: nmap localhost.

Link: Nmap

 

Leave a comment