Is it necessary for the port addresses to be unique? Explain with reason.



Is it necessary for the port addresses to be unique? Explain with reason...

Answer / Manish Taneja

Yes, port addresses must be unique on a single computer network. Each port address serves as an identifier for different communication sessions between clients and servers, allowing multiple connections to exist simultaneously without interference. If two or more applications were using the same port address, they would not be able to communicate properly because their messages would be intermingled.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is default size of arraylist in java?

1 Answers  


Is there any limitation of using inheritance?

1 Answers  


List any five features of java?

1 Answers  


What does file separator do in java?

1 Answers  


What is the difference between method and constructor ?

3 Answers  


Ducking is automatic in checked exception?True or false

2 Answers  


Describe 2 different ways to concatenate two strings.

1 Answers   TCS,


whst is encapsulation?when u encpsulate actually while devoloping code?

7 Answers   Amdocs, MGL,


What is the base class for error and exception?

1 Answers  


Why hashset is used in java?

1 Answers  


Realized?

0 Answers  


System.out & System.in are final static data member of System class but we can change there reference through setOut() & setIn() method how...

2 Answers   FCS, TCS,


Categories