Changing the Access Ports
This guide describes the procedure to change the listening ports of the Monsta web interface. 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 you choose 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 the console of your server.
- Run the configuration utility: Use the
monkerneldbinary with theportparameter to set the new HTTP port and the SSL (HTTPS) port.
/opt/monsta/bin/monkerneld port --port <porta http> 8090 --sslport <porta https>Example:
/opt/monsta/bin/monkerneld port --port 8090 --sslport 8443Command Parameters:
--port: Sets the port for unencrypted connections (HTTP).--sslport: Sets the port for secure connections (HTTPS).