title: Keycloak container kcadmin error: Connect to localhost:8080 [localhost/127.0.0.1] failed
body: <p>I run a docker keycloak container. It starts properly based on shell output. After it starts, I can access it from web brower which is out of host.</p>
  <p>However, when I go into the keycloak container and try to run some cmd through <code>kcadmin</code></p>
  <pre><code>/opt/jboss/keycloak/bin/kcadm.sh config credentials --server http://localhost:8080/auth --realm master --user $KEYCLOAK_USER --password $KEYCLOAK_PASSWORD
  </code></pre>
  <p>I got the error :</p>
  <pre><code>Failed to send request - Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
  </code></pre>
  <p>It looks like jboss refuse the request. But as I said, I can access keycloak from external brower.
  In this case, what log or something else should I check?</p>
  <p>Thanks in advance.</p>