Installation & Licensing Center
Specifying an Ansys License Server
Authored by Caleb Scharf
May 18th, 2023
8763 views
2 likes
KB955772
Description
For your client Ansys software to run, it must first connect to and obtain a license from an Ansys license server. If a license server was not specified during the client software installation or if the license server was moved or it's IP address was changed, you must set this information appropriately on the client machine. If you already have Ansys installed and are installing a new version, your specified license server(s) will stay the same.
Solution
- Gather the name of your license server from the appropriate contact at your company.
- Select the software version you are using and follow the steps:
Structures & Fluids Products - Version 2023 R1 & After
-
Windows Search > search for ANSYS Licensing Settings [latest version installed] > Right click select Run as Administrator
- If you do not perform this step, any changes made will not save or work properly.
- Select FlexNet Publisher > In the Server 1 field, enter the hostname of your license server.
- Use the default port of 1055 unless your IT Administrator has told you otherwise.
- If necessary, select and delete any license servers that aren't needed. See note below about multiple servers.
- Select Test and insure you receive a green check mark.
- This test verifies FlexLM connectivity which is only one of two services required. Please see HOW TO - Test & Fix License Manager Connectivity Issues to perform a complete test.
- Select Save
Structures & Fluids Products - Version 2021 R1 To 2022 R2
-
Windows Search > search for ANSYS Client Licensing Settings [latest version installed] > Right click select Run as Administrator
- If you do not perform this step, any changes made will not save or work properly.
- Select FlexNet Publisher > In the Server 1 field, enter the hostname of your license server.
- Use the default port of 1055 unless your IT Administrator has told you otherwise.
- If necessary, select and delete any license servers that aren't needed. See note below about multiple servers.
- Select Test and insure you receive a green check mark.
- This test verifies FlexLM connectivity which is only one of two services required. Please see HOW TO - Test & Fix License Manager Connectivity Issues to perform a complete test.
- Select Save
Structures & Fluids Products - Version 2020 R2 & Before
-
Windows Search > search for Client Anslic_Admin Utility > Right click and select Run as Administrator
- If you do not perform this step, any changes made will not save and work properly
- Select Specify the License Server Machine
- Here you can Add/Edit and Delete the license servers this machine attempts to connect to and the order in which it makes the attempts. Add your license serverhost name.
- Default ports are 2325 and 1055
- If necessary, select and delete any license servers that aren't needed. See note below.
Structures & Fluids Products - Via Ansyslmd.ini file - All Versions
As an alterative method to the Ansys Client License Settings GUI, you can manually specify your license server(s) in the ansyslmd.ini file. This achieves the same result as the GUI.
- Open the following file in a text editor
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\ansyslmd.ini"
- Edit the file in the following format, using your specific license servername. The example below shows two servers with "YourServerName1" being the first server that will be contacted.
Electronics Products - Via Gui
- Windows Search > search for and open Control Panel > Select Programs > Programs and Features
- Locate and right click ANSYS Electromagnetics Suite [your version] > Select Change
- Select Modify when the installation wizard appears.
- Select the applicable options (defaults are typically fine) and continue to the page called License Information.
- Select I want to specify a license server
- Note – you can view the current license configuration from this window as well.
- Click Next and then input the host name of your license server.
- Default port is 1055
- Continue through the remainder of the wizard and then click Finish when complete.
Electronics Products - Via Ansyslmd.ini file
As an alterative method to the Ansys Client License Settings GUI, you can manually specify your license server(s) in the ansyslmd.ini file. This achieves the same result as the GUI.
- Open the following file in a text editor
"C:\Program Files\AnsysEM\Shared Files\Licensing\ansyslmd.ini"
- Edit the file in the following format, using your specific license servername. The example below shows two servers with "YourServerName1" being the first server that will be contacted.