Keycloak returns "404 - Not Found" page

13,354

Solution 1

I had set a "Frontend URL" (Keycloak Admin Console > Realm Settings > General Frontend Url) for the realm that looked like this: http://localhost:8080 while the client's "Root URL" was http://localhost:8080/auth.

After removing the "Frontend URL" everything worked fine. Another solution was to set both fields to http://localhost:8080/auth.

Solution 2

The correct port for Keycloak is 8080. The 9990 is the port for Wildfly administration.
Use http://localhost:8080/auth

Share:
13,354
NidhinRaj
Author by

NidhinRaj

Updated on June 17, 2022

Comments

  • NidhinRaj
    NidhinRaj almost 2 years

    I am trying to install Keycloak on my PC. I have the Java 8 JDK installed.

    After running \bin\standalone.bat, when I go to the page 127.0.0.1:9990/auth, I am returned the error

    404 - Not Found

    screenshot of error page with title "Error" and body "404 - Not Found"