banner



How To Find Ip And Port

Whenever an application wants to make itself accessible over the network, it claims a TCP/IP port, which means that port can't be used by anything else. And so how do y'all cheque open ports to see what awarding is already using it?

An IP address specifies a computer—or other network device—on a network. When one device sends traffic to another, the IP address is used to road that traffic to the advisable identify. Once the traffic reaches the correct place, the device needs to know which app or service to send the traffic on to. That's where ports come in. If the IP accost is akin to a street address on a piece of mail, the port is something similar the name of the person at that residence who gets the post. For the near part, yous don't need to worry most ports. But one time in a while, you might encounter an app that'south set to listen for traffic on the same port that another app already has in use. In that instance, y'all'll demand to identify the app that already has that port in apply.

RELATED: What's the Divergence Between TCP and UDP?

There are a number of ways to tell what awarding has a port locked, but we're going to walk y'all through a couple of built-in means that use the Command Prompt, and then show y'all a corking freeware awarding that makes it fifty-fifty easier. All these methods should work no matter which version of Windows you apply.

Use Congenital-In Tools to See What is Listening on a Port

Nosotros've got two commands to testify you. The showtime lists active ports along with the name of the procedure that's using them. Most of the time, that command will piece of work fine. Sometimes, though, the process name won't help you place what app or service actually has a port tied up. For those times, you'll need to list active ports along with their procedure identifier numbers and then look those processes up in Task Manager.

Option One: View Port Utilise Along with Process Names

First, you'll need to open up the Command Prompt in ambassador mode. Striking Kickoff, and then type "command" into the search box. When you see "Command Prompt" appear in the results, correct-click information technology and choose "Run as administrator."

At the Command Prompt, type the following text and so hitting Enter:

netstat -ab

RELATED: How to Save the Command Prompt's Output to a Text File in Windows

After you hitting Enter, the results may take a minute or two to fully display, and then exist patient. Scroll through the list to find the port (which is listed afterward the colon to the right of the local IP address), and you'll see the process name listed under that line. If yous'd like to brand things a little easier, remember that you lot can too pipe the results of the command to a text file. Y'all could then only search the text file for the port number you lot're after.

Hither, for example, you can see that port 49902 is tied up by a process named picpick.exe. PicPick is an image editor on our system, so we can presume the port is actually tied up past the process that regularly checks for updates to the app.

Option Ii: View Port Use Along with Process Identifiers

If the proper name of the process for the port number you're looking up makes information technology hard to tell what the related app is, you can try a version of the command that shows process identifiers (PIDs) rather than names. Type the following text at the Control Prompt, and and so hit Enter:

netstat -aon

The column at the far correct lists PIDs, and so just discover the one that'southward spring to the port that you're trying to troubleshoot.

Next, open up upwards Task Manager by right-clicking any open space on your taskbar and choosing "Task Manager."

If yous're using Windows 8 or 10, switch to the "Details" tab in Task Director. In older versions of Windows, you lot'll run into this data on the "Processes" tab. Sort the list of process past the "PID" cavalcade and find the PID associated with the port yous're investigating. Yous might be able to tell more about what app or service has the port tied upwardly by looking at the "Description" cavalcade.

If not, right-click the procedure and choose "Open file location." The location of the file will likely requite you clues as to what app is involved.

When In one case you're there, you tin utilize the End Process, Open up File Location, or Go to Service(s) options to control the procedure or stop it.

Use NirSoft CurrPorts to View What is Listening on a Port

If you aren't actually the Command Prompt type—or yous'd rather merely use a simple utility to do all this in 1 step—we recommend the excellent freeware CurrPorts utility by NirSoft. Go alee and download the tool. Simply make sure yous become the right version (the regular version is for 32-bit Windows and the x64 version is for 64-bit Windows). It's a portable app, then you won't demand to install it. Merely unzip the download binder and run executable.

RELATED: How Practise I Know if I'm Running 32-bit or 64-chip Windows?

In the CurrPorts window, sort past the "Local Port" column, find the port you're investigating, and you can see everything—the process name, PID, port, the full path to the process, and then on.

To make it even easier, double-click on any procedure to see every single particular in ane window.


When you lot've determined what app or service has the port you're investigating tied upwardly, information technology's up to you lot how to handle it. If it'due south an app, you may have the choice to specify a unlike port number. If it'south a service—or you don't accept the option to specify a different port number—you'll likely have to stop the service or remove the app.

Source: https://www.howtogeek.com/howto/28609/how-can-i-tell-what-is-listening-on-a-tcpip-port-in-windows/

Posted by: truemansweeng.blogspot.com

0 Response to "How To Find Ip And Port"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel