|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Channel outgoing (IP) address on Solaris |
« View previous topic :: View next topic » |
Author |
Message
|
mvic |
Posted: Mon Apr 03, 2006 7:56 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
xxx wrote: |
why there is a range ? |
If you told MQ to attempt to bind to only one local port, you may find occasional failures if some other program had managed to bind to that port. If you specify a range, you increase the chances of success, as it becomes less likely you will encounter a situation where all of (say) 100 ports are in use. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 03, 2006 7:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Normally, without a LOCALADDR, a sender channel will open two ports:
1) The port on the receiver channel machine at the listener port address
2) a random port on the sender channel machine at some random address.
LOCALADDR is used to scope the 'randomness' of that second port. You can either say "you must always use only this particular port", or you can say "any port in this range is fine, but you can't go out of this range", or you can not specify a port at all and say "any port at all". This is to allow for the channels to function in exactly the kinds of situations that hmh was in - where the sender machine firewall only allowed traffic to go outside from one of the two network interfaces on the machine. Then hmh used localaddr to say "use any port you want, but only on this address". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
xxx |
Posted: Mon Apr 03, 2006 8:00 am Post subject: |
|
|
Centurion
Joined: 13 Oct 2003 Posts: 137
|
thankx jeff and mvic, Now I got it ! |
|
Back to top |
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|