Windows see open port

How to Check for Ports in Use in Windows 10

At any one time, there’s a whole bunch of information being sent between your Windows 10 PC and the endless void of the Internet. This is done using a process whereby network-dependent processes seek out TCP and UDP ports, which they use to communicate with the Internet. First, your data gets sent to remote ports at the destination or website your processes are trying to connect to, then it gets received at local ports back on your PC.

Most of the time, Windows 10 knows how to manage ports and ensure that traffic is being directed through the right ports so that those processes can connect with what they need to. But sometimes two processes may be assigned to one port, or maybe you just want to get a better picture of your network traffic and what’s going in and out.

That’s why wrote this guide that shows you how to get an overview of your ports and see which applications are using which ports.

Use Nirsoft CurrPorts

NirSoft is one of the best indie software developers, giving us great utilities, like PassView and WirelessKeyView. While some people will prefer checking their ports without installing third-party software (in which case, scroll down to the CMD method), CurrPorts is easily the fastest and most convenient way to view your ports.

Once you’ve installed CurrPorts, just open it to see a list of all your ports currently in use. If you’re looking for local ports in use, just click the “Local Port” column at the top to order the list by port number (handy if you’re looking for a specific one). You can do the same thing with remote ports, too.

If you want to really find specific ports, click the “Advanced Filters” icon at the top and enter your string in the format they suggest. It should look something like the below image.

Hit OK when you’re ready, and the list will filter down to your queries.

Command Prompt Method

The integrated – though not necessarily the simplest – way to check open ports is to use the trusty command prompt.

Click the Start button, type cmd , then right-click “Command Prompt” when it shows up in the search results. Click “Run as administrator.”

Once you’re in the elevated command prompt, enter the following command:

This will steadily bring up a list of ports that is probably quite long, along with the Windows processes that are using them. (You can press Ctrl + A , then Ctrl + C to copy all information to the clipboard.) On the average PC, there will be two main local IP addresses that contain ports on your PC.

The first, in our case, is “127.0.0.1.” This IP address is otherwise known as “localhost” or a “loopback address,” and any process listening to ports here is communicating internally on your local network without using any network interface. The actual port is the number you see after the colon. (See image below.)

Читайте также:  Самп зависает при загрузке windows 10

The bulk of your processes will probably be listening to ports prefixed with “192.168.xxx.xxx,” which is your IP address. This means the processes you see listed here are listening for communications from remote Internet locations (such as websites). Again, the port number is the number after the colon.

TCPView

If you don’t mind installing a third-party app and want to have more control over what’s going on with all your ports, you can use a lightweight app called TCPView. This immediately brings up a list of processes and their associated ports.

What make this better than the command prompt is that you can actively see the ports opening, closing and sending packets. Just look for the green, red and yellow highlights. You can also reorder the list by clicking the column headings, making it easier to find the process you want or two separate processes vying for the same port.

If you do find a process or connection you want to close, just right-click that process. You can then select “End process,” which is exactly the same function as the one in Windows task manager. Or you can click “Close Connection” to leave the process open but stop it from listening on a given port.

If you’re having some trouble in Windows 10, then see whether a Windows update may be causing it. We also have a handy guide for managing the health of your hard drive in Windows 10.

Related:

Content Manager at Make Tech Easier. Enjoys Android, Windows, and tinkering with retro console emulation to breaking point.

How to open ports in Windows Firewall

When dealing with certain apps and processes on your Windows 10 PC, you might run issues if you aren’t connecting properly to the internet. If you’ve come across a potential fix that involves opening a certain port in your firewall, you might be wondering what exactly that process entails. This is a problem that can arise in plenty of situations, but especially when attempting to set up a VPN. If you suspect Windows Firewall is part of your connectivity issue, here’s how to open ports.

How to open a port for incoming traffic in Windows Firewall

Windows Firewall is designed as a security measure for your PC. To put it simply, a firewall analyzes incoming and outgoing connections to determine whether or not they’re threats. If you suspect that your Windows Firewall is causing connectivity issues, you can open a port for incoming traffic. Here’s how:

  1. Right-click the Start button.
  2. Click Search.

Type Windows Firewall.

Click Advanced settings.

Click New Rule… in the right frame of the window.

Click Next.

Click Specific local ports.

Click Next.

Click Next.

Click Next.

Click Finish.

How to open a port for outgoing traffic in Windows Firewall

The same set of steps listed above can be used to create a rule for outgoing traffic. In step No. 6, instead of clicking Inbound Rules, you’ll want to click Outgoing Rules. The rest of the steps are the same, and you can disable the rule in the same manner by using the steps in the next section.

How to close a port in Windows Firewall

Want to disable the rule you created to open a port in the Windows Firewall? Here’s how:

    Right-click the Start button.

Click Search.

Click Windows Firewall.

Click Inbound Rules or Outbound Rules in the left frame of the window, depending on what type of rule you created.

Click the name of the rule in the right frame of the window.

Click Delete if you want to completely delete the rule.

More resources

Need a bit more help with Windows Firewall and Windows 10? We have plenty of resources covering a wide range of topics.

Halo: MCC’s live service elements make it better, not worse

Halo: The Master Chief Collection is more popular than ever, but some fans don’t agree with the live service approach 343 Industries has taken with it. Here’s why those elements are, at the end of the day, great for the game and for Halo overall.

Microsoft’s Surface Duo is not ‘failing up’

Microsoft announced this week that it was expanding Surface Duo availability to nine new commercial markets. While Surface Duo is undoubtedly a work in progress, this is not a sign of a disaster. It’s also doesn’t mean that Surface Duo is selling a ton either. Instead, the reason for the expansion is a lot more straightforward.

Here’s what you can do if Windows 10 update KB5001330 is causing issues

In this guide, we’ll show you the steps to get rid of the update KB5001330 to fix profile, gaming, and BSoD problems with the Windows 10 October 2020 Update and May 2020 Update.

These are the best PC sticks when you’re on the move

Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!

How to check if port is open on windows

The knowledge of how to check for open ports is important especially when you own a windows device. Here is an article about how to check if port is open on the windows operating system.

This can be done using any of the available port checker tools online. There are freeware tools for Microsoft Windows which can be used to check if a port is open.

These free utilities are quite effective at scanning for open ports.

How to Check For Open Ports in Windows

When troubleshooting network connectivity issues, there are ways to check for open (or listening) ports. In this article, we will look at the port check tools available in order of their popularity.

1. NetStat.exe

The netstat.exe is a popular Windows command line located in the Windows ‘System32’ folder. It is very effective for checking for open ports or if a port is in use by a particular host.

The netstat command line to be used in checking for open ports in a local host should be entered in the command prompt (cmd.exe) as follows:

This displays the results across four columns with protocol type, IP address, foreign address and the state as the headings respectively.

The column of significant interest is the content of the second column in the command prompt display.

The “o” parameter can be added to the netstat command to show the application process ID (PID). A process ID column appears in the result as a fifth column.

Open Tasklist.exe to help identify the application using the open (listening) port from the command prompt.

2. TCPView.exe

The second on our list is TCPView.exe which is similar to the netstat.exe command. The difference between the two methods of checking for open ports is that TCPView.exe gives a detailed representation in a graphical format or graphical user interface (GUI).

By opting to use TCPView, you get to scan for which ports are open.

Also, as its extended benefit, it enables you to check both the local and remote TCP connection, the protocols that are being used as well as the processes involved.

TCPView can be downloaded from Microsoft SysInternals website and runs as a standalone application without any need to install.

3. PortQry.exe

An alternative method to check for open (listening) ports is the PortQry.exe Windows command.

It can be downloaded by visiting Microsoft Download’s Center and just like the TCPView command; it also runs as a standalone application.

The use of the PortQry.exe command line allows checking for open ports available on the local or remote host.

It works by downloading and extracting the executable file from the Download’s Center and opening a command prompt.

On the command prompt, enter portqry.exe and the parameter identifying the folder which contains the executable file.

It should be noted that the results obtained from running the portqry.exe are similar to that of the netstat.exe command except that it also shows the port statistics stating the number of port mappings and ports in each state.

4. OpenPortViewer.exe

Open Port Viewer is our home develop a free tool design for Windows 10 that can show you a list open port in windows, it is like the netstat command line tool but with GUI. It supports IP v4 and V6, it can resolve the remote IP to the domain name and show network statistics.

How To Check If Port Is Open

It is very important to know the ports that are open on your computer because some ports are associated with special services and these ports have to be open for your computer to run properly. It is also important to check if port is open and which ports are open.

To check if port is open, you should enter “netstat -a” in the command line and it will return with a list of open ports.

Open port and hacking:

Apart from the ports that are used for special services, all other ports should be closed because the more open ports you have on your system, the more vulnerable it will be to hacking.

This is because ports are the doors through which access to your computer can be gained.

Firewalls are the only locks that prevent access. Knowing the ports that are open is a step towards safeguarding your computer.

The special ports that should be open and their uses have been outlined below. All other ports should be closed or filter.

Here are the ports:

Port 7:

This port is also referred to as Ping and Echo. It is used to retrieve the IP address of your computer and its gateway. This is done by typing ipconfig in the command prompt. It is also used for troubleshooting. This is done by typing ping and the number of your gateway. You will get a response after.

Port 21:

This is known as the FTP. This is used to either upload or download files to or from a server when websites are being updated.

Port 25:

This port is called SMTP. It works with applications like Thunderbird, Pegasus and the popular Microsoft Outlook to send emails. Gmail, Yahoo mail and Hotmail do not need this port because they are webmail.

Port 53:

This port is also known as DNS. This port helps to convert URL to the IP address of the website. Here is how it works. The computer does not understand the website you type on your web browser and you cannot cram the IP address of websites. So when you type the website, it is converted to the appropriate IP address for your computer through the process known as DNS. The computer now loads the page based on the IP address. Without DNS, you will have to be typing IP address and not the website. Imagine how difficult it will be.

Port 80:

This port is known as HTTP. This is the route through which your computer gains access to the internet or to other websites. If this port is closed, you won’t be able to visit other websites.

Port 110:

This port is called POP3 and it works with the same applications as Port 25 above to receive emails. It does not also work with webmail.

Ports 135 to 139:

This is known as NetBios. This gives you the name of any computer on your network.

Port 443:

This port is known as HTTPS, it does the same thing as Port 80 but for secure websites.

In conclusion:

The above freeware utilities are the answer to the how to check for open ports question and they are useful in being able to troubleshoot network connectivity issues if the need arises and form a part of a network auditing toolkit or basic checks for vulnerabilities where necessary.

Читайте также:  Which is the best linux or windows
Оцените статью