Contact Us

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

  • 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

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
  • Troubleshooting
  • Errors & Solutions
  • How To's
  • Info
  • Remote Solve Manager
+ More

Setting Custom Ansys License Server/Firewall Ports

Authored by Caleb Scharf December 2nd, 2022 6638 views 1 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 VPN/firewall/router 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.).

Ansys Communicates over Three Ports

  • 1055 - Required for communication with the FlexLM service (lmgrd.exe)
  • 2325 - Required for communication with the Ansys Licensing Interconnect service (ansysli_server.exe)
    • This port is only utilized for versions 2020 R2 and before.
  • 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


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

We DO NOT recommend changing the default ports used for FlexLM (1055), unless specifically necessary (typically only needed if you have another FlexLM license product installed on the same server). 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.

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

Did you like this article?

Yes
No

1 out of 3 liked this article

Related Articles

HOW TO - Verify Licenses Can be Checked Out

HOW TO - Borrow an Ansys License

HOW TO - Uninstall Ansys Software

Popular Articles

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Download & Installation Guide (Start Here!)

Ansys Troubleshooting Guide

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

Accessing the Ansys Customer Portal

Did you like this article?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • SimuTech Online Training Course Checklist
  • ERROR - HTTP Error When Gathering Diagnostics
  • HOW TO - Verify Licenses Can be Checked Out
  • INFO - Understanding Ansys License Files (ansyslmd.lic)
  • ERROR - Black screen in CFX-Pre and CFD-Post
  • INFO - Ansys Version & Release Date History
  • HOW TO - Change Discovery Licensing Mode
  • ERROR - Failover feature 'Discovery - level 1' is not available
  • HOW TO - Add Elastic Licensing in Client Licensing Settings

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

Thanks for your feedback!

How can we improve this article?

We're glad you liked the article!

What specifically did you like, so we can do that more!

Thanks for your time!

What feedback do you have for us?