NetXMS Support Forum

English Support => General Support => Topic started by: anthonyp on March 02, 2021, 02:40:24 AM

Title: Set Web Console server IP
Post by: anthonyp on March 02, 2021, 02:40:24 AM
I installed the web console on a separate container, I know I am supposed to set the IP/hostname of the netxms server, but Im not sure where to do set it. The docs mention a file nxmc.properties, but theres not much more mention of this anywhere else or where to create it.

Any help would be greatly appreciated, I know its likely super simple, but im just not familiar enough with java.

PS: running debian with Tomcat9
Title: Re: Set Web Console server IP
Post by: squeezypiano on March 02, 2021, 11:47:57 AM
I had the same a few months ago and found it easiest to add a hosts file entry for NETXMS_SERVER on the host running the Web GUI.
Title: Re: Set Web Console server IP
Post by: Victor Kirhenshtein on March 02, 2021, 01:45:46 PM
File nxmc.properties should be placed anywhere in class path. For Tomcat 9 good choice will be shared class path, by default it is $CATALINA_BASE/lib (unless redefined by the common.loader property in $CATALINA_BASE/conf/catalina.properties). You can find more details on Tomcat 9 class loader here: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html (https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html).

Best regards,
Victor
Title: Re: Set Web Console server IP
Post by: anthonyp on March 03, 2021, 12:17:02 AM
Quote from: Victor Kirhenshtein on March 02, 2021, 01:45:46 PM
File nxmc.properties should be placed anywhere in class path. For Tomcat 9 good choice will be shared class path, by default it is $CATALINA_BASE/lib (unless redefined by the common.loader property in $CATALINA_BASE/conf/catalina.properties). You can find more details on Tomcat 9 class loader here: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html (https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html).

Best regards,
Victor


Thank you so much! I'm not sure why I struggled to gather that from the installation manual, looking back at it after reading what you said its clear as day haha. Thank you again!