<div dir="ltr"><div><div>Hi I am using keycloak1.5.0 and want to cluster it, I made the changes necessary changes to standalone-ha.xml. <br><br></div>I am running the following command: ./standalone.sh --server-config=standalone-ha.xml -b=0.0.0.0 <br></div><div><br></div><div>I am getting the below error: <br><br>Caused by: java.net.BindException: [UDP] /<a href="http://0.0.0.0">0.0.0.0</a> is not a valid address on any local network interface<br>    at org.jgroups.util.Util.checkIfValidAddress(Util.java:3484)<br>    at org.jgroups.stack.Configurator.ensureValidBindAddresses(Configurator.java:903)<br>    at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:118)<br>    at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:57)<br>    at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:477)<br>    at org.jgroups.JChannel.init(JChannel.java:854)<br>    at org.jgroups.JChannel.&lt;init&gt;(JChannel.java:159)<br>    at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:96)<br>    at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:93)<br>    at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)<br>    ... 7 more<br><br>I changed my keycloak.json as per the documentation for clustering.<br></div><div><br></div><div>Could you help me figure out what is the issue??<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 13, 2016 at 12:08 AM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you&#39;re saying you can only access it using localhost, then run it with &quot;bin/standalone.sh -b 0.0.0.0&quot; and it&#39;ll be bound to all interfaces.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 12 January 2016 at 16:26, Revanth Ayalasomayajula <span dir="ltr">&lt;<a href="mailto:revanth@arvindinternet.com" target="_blank">revanth@arvindinternet.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I mean, i am not able to access it using it public ip.<br><br><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 8:18 PM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don&#39;t know what you mean that you can&#39;t access from outside world, but if you&#39;re running a cluster you&#39;ll need a load balance in front. Apache, Nginx or even Undertow would do that for you.<div><br></div><div>You add nodes by just running more nodes on the same subnet and they&#39;ll discover themselves.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 12 January 2016 at 12:37, Revanth Ayalasomayajula <span dir="ltr">&lt;<a href="mailto:revanth@arvindinternet.com" target="_blank">revanth@arvindinternet.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hi,<br> <br></div>I have a few applications that are using Keycloak 1.5 and I now want to cluster it. I had followed this link (<a href="https://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/clustering.html" target="_blank">https://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/clustering.html</a>) but i am not able to access this server from outside world and I also wanted to know how I can add nodes to my cluster. Could anyone please help me out in this respect.<br><br></div>Thanks.<br></div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>