Note: The following procedure can only be used with a default Tomcat installation. This procedure cannot be used when Tomcat is installed as part of the secure connection option. For more information, see, Enabling Secure Connections to the Web Server (Optional).
By default, the Ansys License Manager installation sets the Tomcat port number to 1084. To manually change this value, you must modify the server.xml file located in the following directory:
Windows:
<install_dir>\Shared Files\Licensing\tools\tomcat\conf
Linux:
/ansys_inc/shared_files/licensing/tools/tomcat/conf
To change the Tomcat port number:
Open the server.xml file.
Locate the line that starts with
<Connector port="1084" protocol="HTTP/1.1"
Change the port number from 1084 to your desired number.
If Tomcat is already running, the new port value will not be used until Tomcat is restarted. This can be done in the following manner:
Windows:
Open the Windows Services applet and stop and restart the Ansys Licensing Tomcat service (ANSYSLicensingTomcat). The Windows Services applet can be started by issuing the command services.msc from an administrator command prompt window.
Linux:
Stop the Tomcat server process by executing the stop_lmcenter script.
Start the Tomcat server process with the new port number by executing the start_lmcenter script.
These scripts can be found in the following directory:
/ansys_inc/shared_files/licensing
Note: Starting the Tomcat server process will also open Ansys License Management Center.