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

Can you explain what is subneting?

628


What is an ip block list?

658


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.?

851


How do I find my static ip address to open?

577


What is sockets?

663






Is bash posix compliant?

666


What is the equivalent layer or layers of the tcp/ip application layer in terms of osi reference model?

599


Is a form of interprocess communication?

712


Does netstat show hackers?

685


What is the difference between public and private ip?

574


What is port 445 commonly used for?

608


Is there any training institute for network protocol testing / communication protocol testing / data-com protocol testing?

2139


Which port does netflix use?

607


Does router have ip address?

589


Is http based on tcp?

616