# Not able to start KeyCloak

**URL:** <https://forum.keycloak.org/t/not-able-to-start-keycloak/8614>\
**Category:** Configuring the server\
**Tags:** admin-console\
**Created:** [April 20, 2021, 5:39pm UTC](https://forum.keycloak.org/t/not-able-to-start-keycloak/8614 "2021-04-20T17:39:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshukla](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pshukla](https://forum.keycloak.org/u/pshukla)\
**Post date:** [April 20, 2021, 5:39pm UTC](https://forum.keycloak.org/t/not-able-to-start-keycloak/8614/1 "2021-04-20T17:39:25Z")

</div>

I just downloaded KeyCloak, went to getting started and started server using sh ./standalone.sh. I am on Ubuntu 18 with OpenJDK 11.0.10

After executing standalone.sh i see standard output and the last 2-3 lines that I see are as below but still not able to access the Admin Console on browser.

17:04:54,865 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080  
17:04:54,947 INFO [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0493: EJB subsystem suspension complete

17:04:55,122 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443

17:05:02,033 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server  
17:05:02,035 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 12.0.4 (WildFly Core 13.0.3.Final) started in 10141ms - Started 589 of 867 services (585 services are lazy, passive or on-demand)  
17:05:02,036 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on [http://127.0.0.1:9990/management](http://127.0.0.1:9990/management)  
17:05:02,036 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on [http://127.0.0.1:9990](http://127.0.0.1:9990)

- I checked the process and the process is running on the server.
- I executed netstat to see the ports and they too are listening.
- I tried telnet from my machine and i was not able to. Then i changed firewall rules and added all the required ports.
- I shutdown the KeyCloak service and started an nc on port 8080 to check whether this port is listening, i could able to telnet from my local machine.
- I started the services back and again tried to telnet on port 8080, i was not able to.

So it seems the ports aren’t an issue but it seems service is, can somebody guide me what wrong i am doing?

---

<div class="post-metadata">

**Author:** ![xkey](https://avatars.discourse-cdn.com/v4/letter/x/ce7236/32.png) [@xkey](https://forum.keycloak.org/u/xkey)\
**Post date:** [April 20, 2021, 10:04pm UTC](https://forum.keycloak.org/t/not-able-to-start-keycloak/8614/2 "2021-04-20T22:04:41Z")

</div>

You can try:

1.) cd /opt/keycloak/bin

2.) sudo ./standalone.sh -b 0.0.0.0

or

sudo ./standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0 &

---

<div class="post-metadata">

**Author:** ![pshukla](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pshukla](https://forum.keycloak.org/u/pshukla)\
**Post date:** [April 21, 2021, 5:57pm UTC](https://forum.keycloak.org/t/not-able-to-start-keycloak/8614/3 "2021-04-21T17:57:25Z")

</div>

Great…it worked. Thanks for the advice.

---

<div class="post-metadata">

**Author:** ![xkey](https://avatars.discourse-cdn.com/v4/letter/x/ce7236/32.png) [@xkey](https://forum.keycloak.org/u/xkey)\
**Post date:** [April 21, 2021, 8:32pm UTC](https://forum.keycloak.org/t/not-able-to-start-keycloak/8614/4 "2021-04-21T20:32:57Z")

</div>

You’re welcome! @pshukla
