Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

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

  • Troubleshooting

  • Errors & Solutions

  • How To's

  • Info

  • Remote Solve Manager

  • Employee Login

Can't find what you're looking for?

Contact Support

Ansys Installation & Licensing Center

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Installation
  • Troubleshooting
  • Errors & Solutions
  • How To's
  • Info
  • Remote Solve Manager
+ More

Setting Custom License Server/Firewall Ports

Authored by Caleb Scharf February 4th, 2022 2631 views 0 likes KB956147

Description

By default, the Ansys license server communicates over three different ports.  We recommend leaving these ports set to their default values and allowing these Ansys processes through the firewall by application whenever possible, however, there are occasions that can require you to change these default port settings. 

The most common scenario is having to set a static port for the Vendor Daemon service, which by default is a dynamic port (changes every time the license manager service starts).  This is necessary if you need to allow these ports through a network hardware firewall/router/VPN or are using a Linux license server.  This can also be required if you have other FlexNet based applications installed on the same server which are using these ports (SolidWorks, MATLAB, Creo, NX, etc.).

  • 1055 - Required for communication with the FlexLM service (lmgrd.exe)
  • 2325 - Required for communication with the Ansys Licensing Interconnect service (ansysli_server.exe)
  • Dynamic port - Required for communication with the Ansys "Vendor daemon" service (ansyslmd.exe) 
    • By default, it changes every time the license manager is started.
    • This process/port is required for versions 2021R1 or later.
    • For versions 2020 R2 and prior, it's only required for Electronics products, and to view license status.

Solution

Delete

Warning

We DO NOT recommend changing the default ports used for FlexLM (1055) or the Ansys Licensing Interconnect (2325), unless specifically necessary.  This is because, by default, the client software will use these ports when specifying a license server and if you change them, you will need to give additional explicit instructions to your users to use these ports when they specify their server.  No additional user instructions are required when changing the vendor daemon port to a static port as this port does not need to be specified by the user.


Vendor Daemon (ansyslmd.exe) - Default Port = Dynamic 

  1. First stop the license manager service‍ from running.
  2. Open the installed license file.  The default file path is:  
    1. C:\Program Files\ANSYS Inc\Shared Files\Licensing\license_files\ansyslmd.lic
  3. Set a static "Vendor Daemon" port by adding the following highlighted section to your license file.  
    1. We recommend using port 1056 because it's one digit higher than the default 1055 port used for FlexLM, making it easier to remember, and it is NOT often used by other applications.
      1. 'ansyslmd - Notepad + + File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window ? ansyslmd SERVER Licenses VENDOR ansyslmd PORT-LOSE SK SERIAL NUM—f466d01c 1055 3 USE length Ln; 3 _serveri Col: 11 Sel:OlO Windows (CR LF) UTF-8
  4. Save the file, and restart‍ the Ansys license manager.
Delete

FlexLM (lmgrd.exe) - Default Port = 1055

Delete

Warning

When installing new licenses, the default Flex LM port may get reset to 1055.  If you change your FlexLM port, we recommend verifying that the desired ports are being used by visiting the section called Display FlexNet License Status in the License Management Center 


  1. First, Stop the license manager service‍ from running.
  2. Open the installed license file.  The default file path is:  
    1. C:\Program Files\ANSYS Inc\Shared Files\Licensing\license_files\ansyslmd.lic
  3. Modify the default port of 1055 to a port of your choosing.   
  4. Save the file, and restart‍ the Ansys license manager.
  5. Communicate the change to your users and have them modify their specified license server‍.
Delete

Ansys License Interconnect (ansysli_server.exe) - Default Port = 2325

Delete

Warning

We DO NOT RECOMMEND this!  We have not thoroughly tested changing this port and your results may vary.

Delete

Info

Only client versions 2020 R2 and prior rely on this port to function‍.  Client version 2021 R1 and later can work without this port being open.  


  1. First stop the license manager service from running.
  2. Open the following file in notepad or a text editor.  
    1. "C:\Program Files\ANSYS Inc\Shared Files\Licensing\ansysli_data\ANSYSLI_PORT"
  3. Modify the default port of 2325 to a port of your choosing.   
  4. Save the file, and restart‍ the Ansys license manager..
  5. Communicate the change to your users and have them modify their specified license server‍.
Delete


How to Identify if other applications are using the same ports as Ansys?

Do you have other applications on the same server (SolidWorks, Matlab, Creo, NX, etc.) that are using the same ports Ansys does?  Both programs cannot successfully use the same ports simultaneously. See the picture below for guidance on how to identify what ports are in use by what service & by what application.  

How to Identify what ports are being used by what programs

Delete




set static vendor daemon port

Related Articles

HOW TO - Verify Licenses Can be Checked Out

HOW TO - Borrow an Ansys License

HOW TO - Uninstall Ansys Software

HOW TO - View Historical License Usage

Popular Articles

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Installation Guide (Start Here!)

Ansys Troubleshooting Guide

INFO - Ansys License Manager Overview & Requirements

HOW TO - Gather License Server Host Info

HOW TO - Change/Move License Servers

HOW TO - Gather Ansys Diagnostic Logs

Accessing the Ansys Customer Portal

Was this article helpful?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • HOW TO - Test & Fix License Manager Connectivity Issues
  • HOW TO - Gather License Server Host Info
  • ERROR - This type of license file must be appended...
  • HOW TO - Reset Ansys License Preferences
  • HOW TO - Change/Move License Servers
  • Accessing the Ansys Customer Portal
  • HOW TO - Uninstall Ansys Software
  • HOW TO - Create an Environment Variable

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