Basics Of Port Addressing

For Example, your friend who is in canada , wants to send some things and you are in mumbai apartment. From this we learn the what is port address.

Analogy

Reaching our city = Reaching our network.(IP Address)

Reaching our apartment = Reaching the host.(MAC address)

Reaching the right person = Reaching the right process.(Port Address)

PORT ADDRESS OR PORT NUMBER :

  • In a node, many processes will be running

  • Data which are sent/received must reach the right process.

  • Every process in a node is uniquely identified with the help of port numbers.

  • Port=Communication end point

  • Fixed port numbers and dynamic port numbers(0-65535)

  • Example:

  • Fixed port number: 25,80 etc.,

  • OS assigned dynamic port numbers: 62414

  • HOW TO SEE PORT NUMBERS IN REAL DEVICES :

  • Here, open resource monitor and click on network, click on Listening ports see the port numbers and my chrome port number is 5353 on this computer.

  • KEY POINTS TO PONDER

  • Before sending the data, any node must

  • *Attach source IP Address, and destination IP Address.

  • *Attach source MAC Address and destination MAC Address.

  • *Attach source port number and destination port number.

0
Subscribe to my newsletter

Read articles from OLPU KRISHNAVENI directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

OLPU KRISHNAVENI
OLPU KRISHNAVENI