How to run KeyCloak on Default Ports.

137 views
Skip to first unread message

Vaibhav Saxena

unread,
Sep 14, 2022, 1:13:16 PM9/14/22
to Keycloak User
Current working Setup:
Version - 19.0.2 (Latest) | Standalone | Windows VM
/conf/keycloak.conf have following settings:
  • external mssql db (Azure DB)
  • DNS Certs in a KeyStore
  • http-relative-path=/auth
  • hostname=<myURL>
After starting the KC (kc.bat start), i am able to successfully access the KC via https://<MyURL>:8443/auth

Requirement:
I need to remove 8443 from the URL. want to set KC to run on default 443

Tried:
stopped KC
added 'htts-port=443' under conf file
rebuild the KC and started it.
starting logs says = 'Listening on: htt://0.0.0.0:8080 and https://0.0.0.0:443'
But URL is not accessible 
https://<MyURL>:443/auth or https://<MyURL>:/auth


Please suggest.
Thanks
Vaibhav
Reply all
Reply to author
Forward
0 new messages