Ashis Patra
Ashis Patra

Reputation: 31

how to change default port 8080 of "quarkus keycloak" in windows

Whenever I am trying to run the command -

kc.bat start-dev --http-port="port number

its showing some error called

unmatched argument at index 3: "port number

Upvotes: 3

Views: 9757

Answers (2)

user19674630
user19674630

Reputation: 21

try this command for changing default port to custom port of Keycloak Quarkus distributor

kc.bat start-dev dummy --http-port <port-number>

Upvotes: 2

Umakanth
Umakanth

Reputation: 792

The property needs to be set in keycloak.conf file available under keycloak/conf folder.
Along with several other properties just add
http-port=PORT NUMBER
and this will work every time.
More info can be found here -> https://www.keycloak.org/server/all-config

Upvotes: 10

Related Questions