How to change port numbers for ESMC Virtual Appliance

In order to change port number(s), do the following changes for relevant ESMC component:

ESMC Web Console port (default 8443)

1.Open Webmin, navigate to Servers > ESET Security Management Center > Edit Apache Tomcat server.xml and modify line <Connector port="8443"

2.Edit the /var/lib/tomcat/webapps/era/WEB-INF/classes/sk/eset/era/g2webconsole/server/modules/config/EraWebServerConfig.properties and set server_port= to your value.

3.Restart the Tomcat service
systemctl restart tomcat

ESMC Server ports (default 2222, 2223) - log into ESMC Web Console, navigate to More > Server Settings > Connection and change as needed.

important

Important

If you've changed any of the ports above, you need to modify Firewall settings as well. Open Webmin, navigate to Networking > Linux Firewall and change port numbers in existing rules. Alternatively, you can add new rules.