Skip to main content

Change the Trisul webserver port

The Trisul webserver listens on port 3000 by default. This document explains how you can change this to a different port.

as root

Run these commands as root or sudo

Step 1: Change nginx.conf

Open the /usr/local/share/webtrisul/build/nginx.conf file as shown

  server {
listen 3000;
server_name localhost;
}

Change the 3000 to your new port

Step 2: Change the Web Server settings

navigation

👉 Login as admin and go to Webadmin: Manage → App Settings → Web Server

Set the Web Server Port to your new port.

Step 3: Restart Webtrisul

systemctl restart webtrisuld