why port address is longer than IP address ?

Answers were Sorted based on User's Feedback



why port address is longer than IP address ?..

Answer / anand sebastian

They are both necessary for correctly routing traffic to its destination but have different scope. An IP address identifies a particular computer on the Internet. The port number identifies a particular program running on that computer.

Consider postal addresses by analogy. The street address and everything following identifies a particular residence or building, e.g. 1600 Pennsylvania Avenue, Washington DC. That is all the postal service needs to deliver a letter to its destination. However, once there it does not describe precisely _who_ the letter should go to. For that you need additional information - the name of the receipient. Only when this is also given - e.g. Bo the First Dog, 1600 Pennsylvania Avenue, Washington DC, can the letter be finally passed to the intended receipient.

The port number works in the same way - the IP address is enough to get the data to the right computer but does not say which application should receive the data on that machine. That is what the port number does. For example, by convention anything sent to TCP port 80 will be forwarded to a web server running on that machine. Anything sent to port 21 is directed to the FTP server instead. Without the port numbers the operating system would have no idea what data is intended for which application.

Is This Answer Correct ?    9 Yes 2 No

why port address is longer than IP address ?..

Answer / sathish

port id consist both ipadress and port number

ip adress is just ip adress

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More TCP IP Interview Questions

What is ipconfig command?

0 Answers  


What is IP address range?

0 Answers   Infosys,


if we r having OSI model they why nowadays we r using TCP?IP model??

15 Answers   Wipro,


How many Layers in Network Layer ?

56 Answers  


What is codec ? What is the use of that?

0 Answers   Deshaw,






How will my computer get its ip address?

0 Answers  


What subnet means?

0 Answers  


Does DNS use TCP or UDP or both?

12 Answers   Yahoo,


What does tcp/ip stand for and what is its use?

0 Answers  


what is sip?

3 Answers  


In which layer SMTP is used?

0 Answers   Honeywell, Zomato,


What is the difference between unidirectional and bidirectional?

0 Answers  


Categories