activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: ActiveMQ connection time out IPV6 address
Date Tue, 31 Aug 2010 09:58:05 GMT
There are some details on java and ipv6 at:
that may give you some additional insight. Some behavior on dual host
machines is platform/OS specific

However, if the box only supports ipv6 you may have to specify the
wildcard address in ipv6 format, by default the ipv4 all interfaces or
wildcard address ( should map to both ipv4 and ipv6 interfaces
on a dual interface machine but possibly not in your case.

Try using the ipv6 wildcard address, a URI of the form in the broker
If this works, it may indicate that the box is configured to just use
ipv6 which may or may not be what you want.

            <transportConnector name="openwire" uri="tcp://[::]:61616"/>

On 26 August 2010 21:50, jns <> wrote:
> Problem:- ActiveMQ is installed on a linux machine which can be reachable by
> ping6. When broker URL is given as hostname, the messages are consumed.
> However, as soon as I specify broker URL in IPV6 format, I get connection
> timeout error.
> Broker URL:-
> tcp://[fe80::XXX:XXXX:XXXX:XXXX]:61616?wireFormat.maxInactivityDuration=1000
> Error:-
> javax.jms.JMSException: Could not connect to broker URL:
> tcp://[fe80::XXX:XXXX:XXXX:XXXX]:61616?wireFormat.maxInactivityDuration=1000.
> Reason: connect timed out
> Broker.xml:-
>        <transportConnectors>
>            <transportConnector name="openwire" uri="tcp://"/>
>        </transportConnectors>
> Code segment where I get error:-
> connectionFactory = new ActiveMQConnectionFactory(user, password, url);
> connection = connectionFactory.createConnection();
> Can anyone please point out if any parameters need to be set for dealing
> with IPV6 address. Any help would be very much appreciated. I am using
> ActiveMQ 5.3.0.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


Open Source Integration

View raw message