RocketChat Different HTTPS Port


I am running a RocketChat server instance on a network that contains multiple servers. We need to enable HTTPS on our RocketChat server but on this same network there is one server that already takes port 443.

How do I enable HTTPS on a different port other that 443 in RocketChat?

Server Setup Information

  • Version of Rocket.Chat Server: 6.5.2
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 14.21.2
  • MongoDB Version:
  • Proxy: caddy
  • Firewalls involved: eventually

Any additional Information