Contact Us

If you still have questions and are an active SimuTech customer, please submit a request.

  • Ansys Training
  • Skills Center
  • Consulting
  • About
  • Contact Support
  • Home
  • Installation

    • Installation Guides

      • Ansys Download & Installation Guide (Start Here!)
      • HOW TO - Download & Install Ansys Student
      • HOW TO - Access the Ansys Customer Portal / Ansys Account
    • Setup Tasks

      • HOW TO - Obtain Your Ansys License File
      • HOW TO - Add Firewall & Port Exceptions for Ansys License Manager
      • HOW TO - Install an Ansys License Key/File
      • HOW TO - Specify an Ansys License Server
      • HOW TO - Set Custom/Static License Server Ports
      • HOW TO - Install Ansys' Required Linux Packages & Libraries
      • HOW TO - Gather License Server Host Info
      • HOW TO - Integrate Electronics with Ansys Workbench
      • HOW TO - Add Elastic Licensing in Client Licensing Settings
      • HOW TO - Change Discovery Licensing Mode
    • Requirements & Info

      • INFO - How to Work Remotely with Ansys
      • INFO - Ansys License Manager Overview & System Requirements
    • Optional Configurations

      • HOW TO - Set User License Privileges via an Options File
      • HOW TO - Modify the License Timeout Setting in Options File
      • HOW TO - Create an ansyslmd.opt OPTIONS file
      • HOW TO - Make an Ansys License Server Public Facing (BYOL)
    • Uninstallation

      • HOW TO - Uninstall Ansys Software
      • HOW TO - Comprehensively Reinstall Ansys
  • Troubleshooting

    • Troubleshooting Guides

      • Ansys Troubleshooting Guide
      • HOW TO - Test & Fix License Manager Connectivity Issues
      • HOW TO - Fix Ansys License Checkout Errors
      • HOW TO - Fix Ansys Application Errors & Issues
    • License Manager Connectivity

      • HOW TO - Test & Fix License Manager Connectivity Issues
      • HOW TO - Add Firewall & Port Exceptions for Ansys License Manager
      • HOW TO - Reset Your Ansys Profile Folder
      • HOW TO - Verify the License Manager is Running
      • HOW TO - Identify if other software is using the same ports Ansys uses?
      • HOW TO - Test if Ansys is blocked by the Windows Firewall on a Client Computer
      • HOW TO - Manually Reset Your Specified License Servers (ansyslmd.ini)
    • License Checkout Issues

      • HOW TO - Fix Ansys License Checkout Errors
      • HOW TO - Check Ansys License Server Version
      • HOW TO - Verify your license is valid & not expired
      • HOW TO - Reset Ansys License Preferences
      • HOW TO - Reset Your Ansys License File
      • HOW TO - Reset Ansys Settings to Default
      • HOW TO - Reset Your Ansys Profile Folder
      • HOW TO - Identify what license features you are attempting to checkout
      • HOW TO - Restore an Ansys license backup file
      • HOW TO - Release a Stuck/Reserved/Abandoned License
      • HOW TO - Access the Ansys License Management Center from Other Computers
    • Application Functionality Issues

      • HOW TO - Fix Ansys Application Errors & Issues
      • HOW TO - Reset Your Ansys Profile Folder
      • HOW TO - Update Drivers & Software
      • HOW TO - Run Product & CAD Configuration Manager
      • HOW TO - Verify the Integrity of Installation Files
      • HOW TO - Manually Reinstall Prerequisite Microsoft Software
      • HOW TO - Test if Ansys is blocked by the Windows Firewall on a Client Computer
      • HOW TO - Troubleshoot Antivirus/EDR Software with Ansys
      • HOW TO - Create a Cube & Apply Gravity
      • HOW TO - Review Windows Event Logs for Clues
    • Windows OS / Hardware Issues

      • HOW TO - Check & Repair Windows Installation
      • HOW TO - Update Drivers & Software
      • HOW TO - Troubleshoot a Windows Bluescreen (BSOD)
      • HOW TO - Troubleshoot Windows Update Errors
      • HOW TO - Run Dell Hardware Diagnostics
      • HOW TO - Boot to Safe Mode
      • HOW TO - Review Windows Event Logs for Clues
    • CAD Plugin Issues

      • HOW TO - Reset Your Ansys Profile Folder
      • HOW TO - Review Windows Event Logs for Clues
    • Project Specific Issues

      • HOW TO - Rule out your Model, Ansys Version & Computer as the Cause
    • Uninstallation Guides

      • HOW TO - Uninstall Ansys Software
      • HOW TO - Comprehensively Reinstall Ansys
    • Other Tasks

      • HOW TO - Open a Command Prompt
      • HOW TO - Open PowerShell
      • HOW TO - Edit Your Windows Host File
      • HOW TO - Create an Environment Variable
      • HOW TO - Review Windows Event Logs for Clues
    • Diagnostic Logs

      • HOW TO - Gather Ansys Diagnostic Logs
      • INFO - Ansys Diagnostic Logs Cheat Sheet
      • HOW TO - Review Windows Event Logs for Clues
  • Errors & Solutions

    • ERROR - Ansys License Manager Won't Start
    • ERROR - Capability ANSYS IcePak does not exist in the ANSYS licensing pool.
    • ERROR - ANSYS Electronics Desktop Will Not Launch After Windows Update
    • ERROR - Cannot return a borrowed license
    • ERROR - Black screen in CFX-Pre and CFD-Post
    • ERROR - License Manager Server Hangs/Locks Up
    • ERROR - "Failed to Enable Feature" - Pro, Premium, Enterprise Licensing Available on Server
    • ERROR - Failed to export NASTRAN file
    • ERROR - Unable to check out feature: motorcad
    • ERROR - Could not connect to any License Server
    • ERROR - Could not connect to any license server. The server is down...
    • ERROR - Elastic Licensing Remains Disabled After Configuration as Administrator
    • ERROR – Unable to Specify License Server in Version 2021 R1
    • ERROR - Project contains data that requires software modules not are not installed
    • ERROR - Hostid in the license file is not a valid hostid
    • ERROR - This type of license file must be appended...
    • ERROR - Could not save server and port to file
    • ERROR - Destination File Could not be Created
    • ERROR - Capability ANSYS SpaceClaim Direct Modeler Does Not Exist...
    • ERROR - No Valid Inventor Installation Detected
    • ERROR - No valid INCREMENT lines were found
    • ERROR - Correctly-formatted Vendor Line Was Not Found
    • ERROR - Workbench Toolbox Does Not Load
    • ERROR - Attempt to create the following configuration status file was unsuccessful
    • ERROR - Attempt to populate the CVD 'license_files' directory...
    • ERROR - Warning: No License Files Were Found in the following location...
    • ERROR - Failed to get license for ncodedesktop
    • ERROR - Unable to connect to or start local server
    • ERROR - Not connected to a server for Licensing Client Proxy actions
    • ERROR - Mechanical failed to open the database
    • ERROR - Temporary License Stops Working
    • ERROR - Pan and Tilt Don't Work / Choppy
    • ERROR - "FATAL ERROR: Port 1084 is in use." when installing Ansys License Manager
    • ERROR - Connection Timed Out While Reading Data
    • ERROR - Not Enough HPC Parallel Licenses
    • ERROR - Translator Installation for CATIA V5 and SOLIDWORKS Import not Found
    • ERROR - "Ansys BladeModeler" Not Available When Opening DesignModeler
    • ERROR - 93317 Microsoft JScript runtime error
    • ERROR - Creo Toolkit Startup Errors
    • ERROR - Linux - Error While Loading Shared Libraries
    • ERROR - Importing Mesh from SpaceClaim to Fluent
    • ERROR - Unable to Attach Geometry from Creo
    • ERROR - License Server Lost for X Minutes
    • ERROR - Failover feature 'Discovery - level 1' is not available
    • ERROR - Cannot submit Ansys Cloud jobs
    • ERROR - Mechanical Crashes when using Image to File
    • ERROR - SpaceClaim Structure Tree Items Disappear
    • ERROR - Failed to stop the license manager
    • ERROR - An unexpected error has occurred: Failed to back up file XXXX\MECH\file.rst
    • ERROR - Fluent Launcher Crashes
    • ERROR - spawn lmutil ENOENT
    • ERROR - LoadLibrary failed with error 87
    • ERROR - Required addins could not be loaded
    • ERROR - Proxy process identifier could not be determined
    • ERROR - Licensed Number of Users Already Reached
    • ERROR - Cannot Borrow a License
    • ERROR - This license file will not be installed
    • ERROR - Request name disco_level1 does not exist in the licensing pool
    • ERROR - Port number are not the same in all license files
    • ERROR - The required license file was not found
    • ERROR - "Unable to attach geometry file" (SolidWorks)
    • ERROR - Prerequisite error "MS ASP.NET Hosting Bundle 6.0.8"
    • ERROR - HTTP Error When Gathering Diagnostics
    • ERROR - Workbench plugin for Inventor does not work
    • ERROR - Request name disco_level1 does not exist in the licensing pool (-5,147)
    • ERROR - Request name cfd_solve_level2 does not exist in the licensing pool (-15,10032)
    • ERROR - Electronics Desktop opens as Twin Builder or another Desktop Configuration
    • ERROR - Switching Network Connections Checks Out Another License
    • ERROR - Failover Feature 'Ansys electronics_desktop' is not available
    • ERROR - Laptop battery drains excessively or gets very hot
    • ERROR - Problem during getAllQueues
    • ERROR - Can't Edit Mech Contours
    • ERROR - Script Error When Opening Mechanical From Workbench
    • ERROR - No Customers Found in Licensing Portal
    • ERROR - Please contact your sales representative to request a machine change
    • ERROR - Failover feature Ansys IcePak is not available
    • ERROR - Software modules are not installed
    • ERROR - cx_Freeze: Python error / ImportError: DLL load failed
    • ERROR - No license for OpticStudio was found
    • ERROR - Newton-Raphson Residuals for the incomplete solution cannot be loaded
    • ERROR - Update failed for the Setup component in skin assy
    • INFO - Issues Using OneDrive, Dropbox, etc.
    • ERROR - Hostname is not a valid hostname, exiting
    • ERROR - Fatal Error Opening Workbench Files
    • ERROR - An unexpected error (SIG$SEGV) ...
  • How To's

    • Administrative Tasks

      • HOW TO - Change/Move License Servers
      • HOW TO - Gather License Server Host Info
      • HOW TO - Add users to Ansys Licensing Portal
      • HOW TO - Obtain Elastic License Server Credentials
      • HOW TO - Locate Your Ansys Customer #
      • HOW TO - Change the Hostname of an Ansys License Server
    • Reporting & Usage Stats

      • HOW TO - View License Usage & Status
      • HOW TO - Review License Usage Data from a Different Computer
    • License Borrowing

      • HOW TO - Borrow an Ansys License
      • ERROR - Cannot Borrow a License
    • Other

      • HOW TO - Stop/Start the Ansys License Manager
      • HOW TO - Compress/Extract Data Using 7zip
      • HOW TO - Open the Ansys License Management Center
      • HOW TO - Enable Shared Web Licensing in License Settings
    • HOW TO - Enable Shared Web Licensing in License Settings
  • Info

    • INFO - Ansys License Server Commands
    • INFO - Is a Evaluation/Temporary License Borrowable?
    • INFO - Ansys Hardware Recommendations & Supported 3rd Party Software
    • INFO - Setting up a VPN to an Ansys License Server
    • INFO - Ansys 3rd Party Software & Hardware Support
    • INFO - Ansys Account Roles & Permissions
    • INFO - Ansys License Manager Overview & System Requirements
    • INFO - How to Work Remotely with Ansys
    • INFO - Ansys Resources & Portals Guide
    • INFO - Product to License Feature Mapping Document
    • INFO - Ansys New License Terms & Conditions
    • INFO - Technical License Server Changes in version 2021 R1
    • INFO - Ansys Version & Release Date History
    • SimuTech Online Training Course Checklist
    • INFO - Is Ansys affected by the Log4j vulnerability?
    • INFO - Understanding Ansys License Files (ansyslmd.lic)
    • INFO - Understanding Ansys License Checkout
    • INFO - Can I install Ansys on a secondary hard drive?
    • INFO - What is license sharing and how do I use it?
    • INFO - What happens when you lose connection to an Ansys license server?
    • INFO - Getting Started with Ansys Gateway powered by AWS
    • INFO - Ansys Shared Web Licensing
    • INFO - Ansys Diagnostic Logs Cheat Sheet
    • HOW TO - Review Windows Event Logs for Clues
  • Remote Solve Manager

    • HOW TO - Setup Ansys Remote Solve Manager (RSM)
    • HOW TO - Verify No Ans.Rsm Processes are Running
    • INFO - Remote Solve Manager Roles & Terminology
    • HOW TO - Install the RSM Launcher Service
    • HOW TO - Uninstall the RSM Launcher Service
    • HOW TO - Install Remote Solve Manager Standalone Services (RSM)
    • HOW TO - Uninstall Remote Solve Manager (RSM)
    • RSM Installation Quick Start Guide (Windows)
  • Employee Login

Can't find what you're looking for?

Contact Support

Installation & Licensing Center

Contact Us

If you are an active or future SimuTech customer and have questions or simply prefer to get help directly from an engineer, we'd be happy to help!

  • Home
  • Installation
    Installation Guides Setup Tasks Requirements & Info Optional Configurations Uninstallation
  • Troubleshooting
    Troubleshooting Guides License Manager Connectivity License Checkout Issues Application Functionality Issues Windows OS / Hardware Issues CAD Plugin Issues Project Specific Issues Uninstallation Guides Other Tasks Diagnostic Logs
  • Errors & Solutions
  • How To's
    Administrative Tasks Reporting & Usage Stats License Borrowing Other
  • Info
  • Remote Solve Manager
+ More

HOW TO - Specify an Ansys License Server

Authored by Caleb Scharf September 22nd, 2023 11855 views 4 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

Ansys has two types of License Servers/Services.  The type of license service is determined with your account manager, prior to purchase.

  • FlexNet Publisher (Self Hosted) - this is the traditional, self-hosted, licensing service that gets installed on a local computer/server and where you install your license key.  This is the most popular form of licensing and has been around for decades.

 

  • Web Licensing (Hosted by Ansys) - Web Licensing is a new licensing service that is fully hosted by Ansys and does not require you to install or manage License Manager software.  It only requires an internet connection.  Two types of licenses can be used on this platform.
    • Shared Web Licensing - First released in 2023 R2 - this has the same concurrent usage functionality as the traditional FlexNet licensing but is hosted by Ansys. Shared Web Licensing is under active development and has some restrictions - Learn more Here.
    • Elastic Web Licensing - Pay as you go, usage-based licensing, hosted by Ansys.

Note:  Web Licensing can be used in combination with FlexNet licensing.

 

FlexNet Publisher

Important

The license server should always be specified by Hostname and not IP Address.  While an IP address can work, it does not work in all scenarios, and you will experience intermittent checkout issues. If specifying by hostname does not work, but doing so by IP Address does - please see HOW TO - Edit Your Windows Host File ‍ 

 

 

  1. Obtain the name of your license server from the appropriate contact at your company and then select your software version below.

 

Structures & Fluids Products - Version 2023 R1 & After

  1. Windows Search  >  search for ANSYS  Licensing Settings [latest version installed] > Right click select Run as Administrator 
    1. If you do not perform this step, any changes made will not save or work properly.
  2. Select FlexNet Publisher > In the Server 1 field, enter the hostname of your license server.  
    1. Use the default port of 1055 unless your IT Administrator has told you otherwise.
  3. If necessary, select and delete any license servers that aren't needed.  See note below about multiple servers below.
  4. Select Test and insure you receive a green check mark.
    1. 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.
  5. Select Save
     
 
 

Structures & Fluids Products - Version 2021 R1 To 2022 R2 

  1. Windows Search  >  search for ANSYS Client Licensing Settings [latest version installed] > Right click select Run as Administrator 
    1. If you do not perform this step, any changes made will not save or work properly.
  2. Select FlexNet Publisher > In the Server 1 field, enter the hostname of your license server.  
    1. Use the default port of 1055 unless your IT Administrator has told you otherwise.
  3. If necessary, select and delete any license servers that aren't needed.  See note below about multiple servers.
  4. Select Test and insure you receive a green check mark.
    1. 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.
  5. Select Save.

 

 
 

Structures & Fluids Products - Version 2020 R2 & Before 

  1. Windows Search > search for Client Anslic_Admin Utility > Right click and select Run as Administrator
    1. If you do not perform this step, any changes made will not save and work properly
  2. Select Specify the License Server Machine
  3. 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.
    1. Default ports are 2325 and 1055
  4. 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.

  1. Open the following file in a text editor 

    “C:\Program Files\ANSYS Inc\Shared Files\Licensing\ansyslmd.ini”
  2. Edit the file in the following format, using your specific license server name.  The example below shows two servers with "YourServerName1" being the first server that will be contacted.  

 

Info

The lines starting with ANSYSLI_SERVERS are technically not required if you are only using client software versions 2021 R1 or later, but we recommend keeping it in the file for backwards compatibility should you ever use an older client software version.

 
 
 

Electronics Products - Via Gui

  1. Windows Search  >  search for and open Control Panel > Select Programs  >  Programs and Features
  2. Locate and right click ANSYS Electromagnetics Suite [your version] > Select Change
  3. Select Modify when the installation wizard appears.
  4. Select the applicable options (defaults are typically fine) and continue to the page called License Information.
  5. Select I want to specify a license server
    1. Note – you can view the current license configuration from this window as well.
  6. Click Next and then input the host name of your license server.
    1. Default port is 1055
  7. 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.

  1. Open the following file in a text editor 

    “C:\Program Files\AnsysEM\Shared Files\Licensing\ansyslmd.ini”
  2. 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.
 
 

MotorCAD

  1. Open Ansys MotorCAD
  2. Click on License > Configuration
  3. Modify the text field as necessary with your license server name, then click Update, then click Close
 
 

 

Tips For Specifying Multiple Servers

  • By default, the server at the top will be contacted first when looking for licenses. If the first server does not have the requested license available or cannot be contacted, it will then move to the next server.
  • If you have multiple servers you need to connect to, ensure your primary license server is on the top.
  • Remove unreachable or unnecessary servers - Unreachable servers cause the software to open more slowly while it waits for a ~30-60 second timeout period.
  • Triad server configurations are used to accomplish high availability (HA), however, they are rarely used and generally not recommended due to additional complexity and because HA virtualization solutions are often easier and more cost effective to implement.
 
 
 

Shared Web Licensing

All Products - 2023R1 and Newer

  1. Launch Ansys License Settings (latest version) with Run as Administrator rights.
  2.  Click Shared under Web Licensing.
  3.  Toggle the Enabled switch to On.
  4.  You will then be prompted by Windows Firewall to allow access. Click Allow Access.
  5.  It will also launch a web browser window to have you sign in. Sign in using your Ansys credentials. If you do not know our credentials, please contact your company's Portal Administrator.
  6.  Once signed in, you will see a list of available shared web licenses.

Note: You can adjust priority of license services based on preference:

 
 

 

 
 

Elastic Web Licensing

All Products - 2023R1 and Newer

  1. You will need to export the Server ID and PIN from licensing.ansys.com If you do not have access to the Ansys Licensing Portal you will need to coordinate with those in your organization who do.
  2. On the client PC > Windows Search > search for ANSYS Client License Settings > right click ANSYS Client License Settings and select Run as Administrator. (Not running as Administrator may result in only the current user being configured for elastic licensing or an error saving.) 

    Note: License Settings for Electronics is located in C:\Program Files\AnsysEM\vxxx\Win64\licensingclient\winx64. Vxxx is the version you are attempting to use.
     
  3. In the left-hand panel click on Elastic Licensing > check Enable Elastic Licensing > then click Import ID and PIN.
  4. Browse to the exported JSON file and select Open.
  5. Click Save in the bottom right corner.

 

 
 

 

 
 

 

set a license serveradd a license server

Did this article help you?

Yes
No

4 out of 7 found it helpful

Related Articles

HOW TO - Test & Fix License Manager Connectivity Issues

HOW TO - Uninstall Ansys Software

HOW TO - Add Firewall & Port Exceptions for Ansys License Manager

HOW TO - Reset Your Ansys Profile Folder

Popular Articles

Ansys Download & Installation Guide (Start Here!)

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Troubleshooting Guide

ERROR - Hostid in the license file is not a valid hostid

HOW TO - Test & Fix License Manager Connectivity Issues

Did this article help you?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • HOW TO - Specify an Ansys License Server
  • Ansys Download & Installation Guide (Start Here!)
  • HOW TO - Install Ansys' Required Linux Packages & Libraries
  • ERROR - An unexpected error (SIG$SEGV) ...
  • HOW TO - Reset Your Ansys Profile Folder
  • HOW TO - Enable Shared Web Licensing in License Settings
  • ERROR - Request name disco_level1 does not exist in the licensing pool (-5,147)
  • HOW TO - Check & Repair Windows Installation

General Inquiries & Sales:

(800) 566-9190

Info@SimuTechGroup.com

Contact Support

  • Software
  • Services
  • Case Studies
  • Ansys Training
  • Consulting
  • Technical Support
  • About SimuTech
  • Careers
  • Privacy

© 2021 SimuTech Group

Definition by Author

0
0
Expand NEW TAB

Hi there! 👋

How are you liking the Installation Center?

Terrible

Bad

OK

Good

Excellent

Feedback Successfully submitted