Changing Access Ports
This guide describes the procedure to change the listening ports of the web interface of Monsta. By default, the system uses specific ports that can be customized via the command line on the Linux server.
Prerequisites
Section titled “Prerequisites”- SSH access to the server where Monsta is installed.
- Superuser privileges (
rootorsudo). - Ensure the new ports chosen are not being used by other services (e.g., Apache, Nginx, Docker).
Step-by-Step Procedure
Section titled “Step-by-Step Procedure”- Access the Terminal: Open your server’s console.
- Run the configuration utility: Use the
monkerneldbinary with theportparameter to set the new HTTP and SSL (HTTPS) ports.
/opt/monsta/bin/monkerneld port --port <porta http> --sslport <porta https>Example:
/opt/monsta/bin/monkerneld port --port 8080 --sslport 8443Command Parameters:
--port: Sets the port for unencrypted connections (HTTP).--sslport: Sets the port for secure connections (HTTPS).