Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why port address is longer than IP address ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the basic difference between tcp/ip and osi model.

1098


Explain what is the difference between flow control and error control?

1349


What is unix port?

1080


What happens when flag is set to zero in a modem during packet data transfer?

1727


How do I run ipconfig?

1201


What is an ip address?

1223


Is a form of interprocess communication?

1212


What happens when multiple applications open multiple tcp connections?

1206


What is the protocol used in Network layer?

1182


What are in process controls?

1084


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

1098


How do I unblock a port?

1219


Is port 80 secure?

1101


What is the differance between HTTP and TCP/IP Protocols?

1201


Can two websites have same ip address?

1096