activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cobrien <clark.obr...@ttmsolutions.com>
Subject Re: 5.3.2 : Small question on transport binding
Date Tue, 27 Jul 2010 17:40:48 GMT

Eric,
On startup, the Broker does a reverse DNS lookup which is unpredictable
across os versions especially with multihomed machines. Keep this in mind 
especially when making the assumption:  

"if "name" = "localhost" binding on localhost only => not visible for the
rest of the network"


-clark 

www.ttmsolutions.com 
ActiveMQ reference guide at 
http://bit.ly/AMQRefGuide



Eric-AWL wrote:
> 
> Hi
> 
> Would someone mind completing this mapping or correcting my mistakes
> please ?
> 
> tcp://0.0.0.0:port                           binding on all interfaces  
> :port
> tcp://127.0.0.1:port                        binding on localhost only =>
> not visible for the rest of the network
> tcp://aa.bb.cc.dd:port                     binding on single interface
> aa.bb.cc.dd:port
> 
> tcp://"name":port?useLocalHost=true
>              if "name" = "localhost"                                              
> binding on localhost only => not visible for the rest of the network
>              if "name" = "other"                                                  
> binding on an interface which listens on an IP address that is the same as
> the name resolution of "other"
>             if "name" = InetAddress.getLocalHost().gethostName()   idem
> "localhost"
>    
> 
> tcp://"name":port?useLocalHost=false
>              if "name" = "localhost"                                              
> binding on localhost only => not visible for the rest of the network
>              if "name" = "other"                                                  
> binding on an interface which listens on an IP address that is the same as
> the name resolution of "other"
>              if "name" = InetAddress.getLocalHost().gethostName()  idem
> "other"
> 
> Is this correct ?
> 
> Eric-AWL
> 

-- 
View this message in context: http://old.nabble.com/5.3.2-%3A-Small-question-on-transport-binding-tp29274251p29278902.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message