title: Starting Keycloak server through standalone.sh on different address to localhost
body: <p>I'm currently building an application where I'm using Keycloak through Docker for ldap authentication.</p>
  <p>I want to run some commands such as setting sslRequired=None and enabling metrics as part of my CICD flow for non production testing vm's. (My CICD flow goes through around 3 different VMs before production)</p>
  <p>To do this, in my keycloak Dockerfile, I've setup an admin user through the <code>add-user-keycloak.sh</code> script and then run <code>/opt/jboss/keycloak/bin/standalone.sh &amp; sleep 20 &amp;&amp;</code> to start the server. I then run the various admin configuration commands I need. This works fine on locally, however when I run this on any of my testing VM's it doesn't work.</p>
  <p>I think this is because when I try to login to any of my testing VM's admin console with the following command</p>
  <pre><code>/opt/jboss/keycloak/bin/kcadm.sh config credentials --server http://$my_external_vm/auth --realm master --user admin --password password
  </code></pre>
  <p>it has started the standalone keycloak server on localhost and so the <code>$my_external_vm</code> variable is not valid</p>
  <p>I've tried setting the -b flag while running standalone.sh, passing in <code>$my_external_vm</code> however when I do this, my server doesn't even start up as it is an <code>&quot;invalid address&quot;</code></p>
  <p>How do I go about starting my keycloak server on $my_external_vm instead of localhost so that I can get through the described issue?</p>