Configuring custom http port for IDSTower

By default IDSTower runs on port 80 when using http and port 443 when using https, in order to change the port to a custom port, follow the below steps:-

  1. Edit the appsettings.json file located at /opt/idstower/appsettings.json

  2. Change the port in the Hosting->URL section to the desired port, for example to change the port to 8080, the section should look like this:-

"URL": "http://your-server-ip:8080",
  1. Restart IDSTower service to apply the changes

$ sudo systemctl restart idstower.service
  1. Verify that IDSTower service is running correctly:

$ sudo systemctl status idstower.service
  1. Make sure your firewall allows the new port:

on Ubuntu:

$ sudo ufw allow 8080/tcp
$ sudo ufw reload

on CentOS\RHEL:

$ sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent
$ sudo firewall-cmd --reload
$ sudo systemctl restart firewalld
  1. Access IDSTower using the new port, for example: http://your-server-ip:8080