How to switch UI to port 443
netstat -an| grep LISTEN |grep ":443 "Note: netstat is gradually being phased out in some Linux distributions.
ss -ltn | grep -w 443
/usr/sbin/setcap 'cap_net_bind_service=+ep' $(readlink -f $(which node)) # Verify it /usr/sbin/getcap `which node` # Output should be: /usr/bin/node cap_net_bind_service=epSome Linux distributions set command alternatives for multiple verions.
update-alternatives --get-selections | grep node node-default auto /usr/bin/node24
/usr/sbin/setcap 'cap_net_bind_service=+ep' /usr/bin/node /usr/sbin/setcap 'cap_net_bind_service=+ep' /usr/bin/node24
su - xormon vi ~/xormon-ng/server-nest/.env APP_PORT=443
cd ~/xormon-ng # Stop XorMon ./xormon.sh stop # PM2 kill to refresh it cd server-nest npx pm2 kill cd ../ # start XorMon ./xormon.sh start ./xormon.sh statusIgnore message "PM2 fail to start" at the end of the start procedure if apears.
firewall-cmd --zone=public --add-port=443/tcp --permanent firewall-cmd --reload firewall-cmd --list-portDebian:
ufw allow 443/tcp ufw reload ufw status verbose