Can we run local keycloak at port 80

I’d like to start a local keycloak server at http://localhost (i.e., http://localhost:80)

I’m running a clean 14.0.0 distribution.

./bin/standalone.sh starts the local keycloak at http://localhost:8080

./bin/standalone.sh -Djboss.socket.binding.port-offset=1010 starts the local keycloak at http://localhost:9090

Both ./bin/standalone.sh -Djboss.http.port=80 and ./bin/domain.sh -Djboss.http.port=80 (from Server Installation and Configuration Guide) don’t start the server at all.

Does anyone know if this can be done, and if so, how to do it?

Without changing your clean distribution you could set -Djboss.http.port=80. You should not use port-offset to set the default port. It has other purposes such as running an additional instance of keycloak from the same directory structure without causing port conflicts.