Do port addresses need to be unique? Why or why not? Why
are port addresses shorter than IP addresses?

Answer Posted / madhu

Port Adresses need to be unique for some well known
applications.
Ex: NTp Server , TFTP Server,FTP Server etc

Totally the port numbers range from 0 to 65535 . In that 0
to 1024 are used for well known or particular applications
(Servers)These ports are called ephemeral ports. The rest
can be used for normal usage.

The port address field in the header of TCP as well as UDP
protocol is of 16 bits length where as the IP address filed
of the IP Header is of 32 bit length. So the port addresses
can range from 0 to 65535 (2^32-1) only.

Regards,
Madhu

Is This Answer Correct ?    11 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does a messaging queue work?

617


What is the difference between a port address a logical address and a physical address?

671


What are the different types of osi layer?

609


How do I know which is private ip address and which is public ip address?

629


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

664






What port can I use instead of 8080?

618


Explain how is data send by ip layer?

605


What is port 110 used for?

626


How do I restore my ip address?

589


Compare the contents of the NetSim routing table with those of a IP/RIP based router

2167


What is the difference between unidirectional and bidirectional?

582


What is the purpose of message queue?

601


What is j standard?

575


What are the protocols used in Application layer?

652


What is a dns name?

784