Reputation: 31
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
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
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