NetXMS Support Forum

English Support => General Support => Topic started by: ricktendo on August 15, 2016, 11:08:15 PM

Title: How do I change WebUI port 8080?
Post by: ricktendo on August 15, 2016, 11:08:15 PM
I would like to install NetXMS on the same machine as my UniFi Controller, but port 8080 is already being used, how can I change the NetXMS WebUI to use 8081 or another port?
Title: Re: How do I change WebUI port 8080?
Post by: tomaskir on August 15, 2016, 11:34:07 PM
NetXMS web UI is a Java application running in Tomcat.
You need to edit the Tomcat configuration file.

This is in 'server.xml' config file; look for 'port="8080"'.
Where this file is located depends on your OS.
Title: Re: How do I change WebUI port 8080?
Post by: ricktendo on August 16, 2016, 09:35:53 PM
Thank you tomaskir, found it... I notice it redirects to port 8443 this is also used by UniFi controller, is it OK for me to change this in server.xml as well and is this the code to do it?

    <!-- Define a SSL HTTP/1.1 Connector on port 8443
         This connector uses the JSSE configuration, when using APR, the
         connector should be using the OpenSSL style configuration
         described in the APR documentation -->
    <!--
    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
Title: Re: How do I change WebUI port 8080?
Post by: tomaskir on August 16, 2016, 11:41:23 PM
Actually, things inside <!--whatever--> in xml are comments.
So that connector is not used - meaning 8443 is not used at all.

Above it, you should see connector using 8080 which is not commented, change that port.