What is My Port Number on My LAN

Port numbers are assigned to applications and their communications on a local area network (LAN). They help to keep one particular "conversation" distinguishable from another. Default port numbers have been assigned to most applications or services. For example, standard web access (http) runs over port 80, and secure web access (https) runs over port 443. Official well-known port numbers can be found at the Internet Assigned Numbers Authority's website, which is linked in the Resources section. Many commonly known unofficial port numbers are in use by vendors as well.

Step 1
Open a terminal. For Windows, open a command prompt by clicking on "Start" and typing "CMD" in the "Run" box. For a Mac, type "terminal" in the finder, or go to the Applications folder, open the Utilities folder and open "Terminal." These commands can be run from the client computer or from the server side. Oftentimes, you will not have access to the server side.

Step 2
Run the command "netstat -an" from the terminal or command prompt. The output is similar for Linux, Windows and Mac. If your output has multiple sections, then scroll up until you find these column headings: Protocol, Local address, Foreign Address and State. The local and foreign address columns indicate the Internet protocol (IP) address and the port number, separated by a colon. Each row indicates an application that is either in a conversation with another computer or waiting to establish a conversation.

Step 3
Look for a state of "listen" to find the port number of services running on your computer (your computer acting as a server.) "Listen" means your computer is waiting for another computer to request access to that application. Look under the "Local address" column of the associated row to determine the port number.

Step 4
Look for the state of "established" to find the port number your computer uses to connect to services running on another computer (your computer acting as a client). "Established" means your computer is communicating with an application on another computer. Look under the "Foreign Address" column of the associated row to determine the port number.

for more : microsoft lan

Comments

Popular posts from this blog

Bridging Network importance in cyber operations

Open Systems Interconnection

How to Improve your Windows Deployment Strategy