I just installed rocket chat using snap. How can i change its port from default port 3000 to any other port?
Recommended to set up caddy in front: https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/autossl/
This also has added benefit of giving you ssl for privacy and security.
Its already running a flask server on 3000 port and i install using snap which port it will run?
It’ll still try to bind to 3000. This is something we will want change in the future with snaps.
Unfortunately no way to override this currently
you should use this command
This is an example to run rocket.chat on port 4000 instead of 3000 and set database name to rocketchat instead of parties
sudo snap set rocketchat-server port=4000
Thanks for replying here. Yes that command has been implemented since this was answered.
Marked your post as the new solution for others that find this in the future