How to Find a Port Number

How to Find a Port Number
How to Find a Port Number

Computers send and receive data through a network connection like Ethernet or wireless to talk to the Internet. Different kinds of messages, like those for websites, chat, or email, are sent and received through ports. Each port has its own number. For instance, website data could be sent over port 1031 and email data could be sent over port 25. The Windows 8 network statistics utility lists the ports on a computer so you can find a port number and see what kind of data the computer is sending and receiving through that port.

Where to look.

Step 1

Check the documentation for your program to find out what port it runs on.

Step 2

Check the IANA website’s “Service Name and Transport Protocol Port Number Registry” list to see what port number the service or protocol uses.

Step 3

Use Netstat. Click the button that says “Start.” In the search box, type “cmd.” Hold down “Shift” and “Ctrl” and then press “Enter” on the keyboard.

Click “Yes” in the window that comes up. In the command prompt window, type the following: netstat -b -a

Also read : How to Enable Port 587

Look through the list to find the port number for the program or service you want the number for. To use the “-b” option of netstat, your Windows 8 user account must be set to Administrator.

Use Netstat without being an Administrator

Step 1

To open Task Manager, press “Ctrl,” “Shift,” and “Esc” at the same time on your keyboard.

Step 2

If you right-click on the column header, a list of column names will pop up. To see the process ID, choose “PID” from the list.

Step 3

Type “cmd” into the search box on the Start menu. Press “Enter.” At the command prompt, type “netstat -ano.” Find the PID you wrote down and check which port it’s using.