# How to use port 443 for Keycloak

**URL:** <https://forum.keycloak.org/t/how-to-use-port-443-for-keycloak/7714>\
**Category:** Configuring the server\
**Created:** [March 3, 2021, 3:01pm UTC](https://forum.keycloak.org/t/how-to-use-port-443-for-keycloak/7714 "2021-03-03T15:01:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soundsessential](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@soundsessential](https://forum.keycloak.org/u/soundsessential)\
**Post date:** [March 3, 2021, 3:01pm UTC](https://forum.keycloak.org/t/how-to-use-port-443-for-keycloak/7714/1 "2021-03-03T15:01:00Z")

</div>

Is there a simple way to change the port Keycloak responds on to port 443? Is this in the admin console or maybe the standalone.xml file? I do not have any web service already using 443. Many thanks.

---

<div class="post-metadata">

**Author:** ![soundsessential](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@soundsessential](https://forum.keycloak.org/u/soundsessential)\
**Post date:** [March 3, 2021, 11:41pm UTC](https://forum.keycloak.org/t/how-to-use-port-443-for-keycloak/7714/2 "2021-03-03T23:41:12Z")

</div>

For anyone else trying to do this, finally figured it out. Use a port forward:

`firewall-cmd --permanent --zone=public --add-forward-port=port=443:proto=tcp:toport=8443`
