Sunday 16 October 2016

[ActiveMQ] Force IPv4 stack

As a default, on the Linux platform, if you have IPV6 support enabled in your kernel, the Java Runtime (since 1.4 version) will use IPV6 sockets to communicate.

for forcing IPV4 stack to be used by the Java Runtime.
 -Djava.net.preferIPv4Stack=true