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

Explain how many hosts can be on each network? Consider a fixed subnet partition of a class b network number that will accommodate at least 76 networks.?

0 Answers  


How will I know my ip address?

0 Answers  


What is default gateway ip?

0 Answers  


What is port 135 commonly used for?

0 Answers  


Why is tcp more reliable?

0 Answers  






How to identify ip address?

0 Answers  


How can I check if port 80 is open?

0 Answers  


From the perspective of a computer's network configuration, the name given to the IP address of the router to which the hosts in a particular subnet must go through to get to other networks/subnets is the

2 Answers  


How do I check if a port is open on my mac?

0 Answers  


which IP address will probably be used for an organization having a network of between 1000 and 1500 computers? explain your reason for arriving at the solution

12 Answers   IBM, IIJT, Wipro,


Is Wifi is the application software or system software

9 Answers  


What Are Advantages And Disadvantages Of Combining The Session, Presentation And Application Layer In The OSI Model Into One Single Application Layer In The Internet Model?

1 Answers  


Categories