-
1. Re: Fuse ESB 4.1.0.4 ActiveMQ does not bind to all IPs
stlewis Jul 30, 2009 3:35 PM (in response to joealex1)I believe this is exactly what you're seeing, the thing is that localhost does not (and should not) mean bind to all interfaces. The proper way to specify all interfaces is to specify 0.0.0.0 as the listen address for the broker. How did you specify it in your configuration? The proper way would be like:
-
2. Re: Fuse ESB 4.1.0.4 ActiveMQ does not bind to all IPs
joealex1 Jul 30, 2009 5:08 PM (in response to stlewis)I have it as uri="tcp://0.0.0.0:61616" Tried localhost and also the actual IP. Still it binds to only localhost. Default setup (localhost) binds to all IPs in 4.0.0.4. Seems an issue in 4.1 onwards at least in Linux.
-
3. Re: Fuse ESB 4.1.0.4 ActiveMQ does not bind to all IPs
stlewis Jul 31, 2009 4:12 PM (in response to joealex1)Seems odd, have you restarted the ESB or done an osgi/update on the auto-generated activemq-broker.xml bundle? If I check it here on my Linux machine I see it's listening on all interfaces as I'd expect:
lsof -p 7145 | grep 61616 :
java 7145 slewis 166u IPv6 762105 0t0 TCP *:61616 (LISTEN)
-
4. Re: Fuse ESB 4.1.0.4 ActiveMQ does not bind to all IPs
joealex1 Aug 3, 2009 5:05 PM (in response to stlewis)It binds to all IPs now. Did a restart, commented and removed discoveryUri="multicast://default" attribute from <transportConnector.
So all you have to do is change localhost to 0.0.0.0. Looks like in Fuse 4.0.0.4 localhost=all IPs and Fuse 4.1.0.2 localhost=127.0.0.1 and 0.0.0.0=all IPs. That is good.
Not sure what was the issue - will try to put the default setup back and try just changing the uri=0.0.0.0.
Thanks for the help