Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Start Keycloak in standalone mode

Attila Levente EGYEDI edited this page Apr 5, 2017 · 6 revisions

Start Keycloak in standalone mode

startkk

Look at the console to verify that Keycloak started without any errors.

One possible source of error is that Nginx's default configuration uses port 8080, which is the same port Keycloak will try to start on.

To determine if this is the case, look for a line like the following in Nginx's configuration file ($NGINX_HOME/nginx.conf):

server {
    listen       8080;
    server_name  localhost;

If it is using port 8080, change it to some other non-conflicting port, eg., 8888:

server {
    listen       8888;
    server_name  localhost;

Then stop and restart Nginx before restarting Keycloak.

Verify that Keycloak is listening

The console output from Keycloak will contain a line like the following:

INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

This confirms that Keycloak is listening on port 8080.

Clone this wiki locally