Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Vendor requesting to use the same port # for 2 interfaces › Re: Client ports
The detailed answer is this:
With a client connection you can use the same port to as many different IP addresses as you would like. The way it works is basically like a “street address” where the street is the IP address and the house number represents the port. If you are going to two different streets the house number can be the same on both of the streets as long as the street and the house number are not both the same.
On a server connection this is not possible because you are allocating real resources on your side and you would end up with a port conflict.
On the client side the actual port that you are sending out on is chosen by the inet daemon according to an ephemeral range. By default the ephemeral range starts at 32768 on AIX but it is a configurable parameter. This is why you must ensure that the ports you are listening on are not within the ephemeral range. If they are you could easily experience port conflicts.
How is that for more information than you would have liked…lol.