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

Add Firewall Exceptions for Ansys License Manager

Authored by Caleb Scharf December 2nd, 2022 7239 views 4 likes KB944034

Description

When the Ansys License Manager is installed, there are certain applications/ports on that computer that need to be manually allowed through the firewall before clients will be able to communicate and check out licenses. This typically includes the Windows Firewall, but is required for other 3rd party firewalls that may be used such as Symantec, McAfee, etc. This can also required for Linux firewalls or in more enterprise/secure environments the VPN or internal network firewalls may need to be configured to allowed these ports to pass through freely on the network.

Solution

Once you've added the appropriate firewall exceptions below Verify/Test License Manager Connectivity ‍to insure they are working.

Windows - via the Command Prompt (Fastest)

This method is recommended because it takes much less time. 

  1. These steps must be performed on the computer that the License Manager is installed on.
  2. Open an Administrator Command Prompt‍
  3. Copy and Paste the following commands into the command prompt and press Enter:
    1. After each command, if it is successful, it will return "Ok." to the command prompt window.
    2. Tip - you can copy and paste all the following commands in one swoop.
netsh advfirewall firewall add rule name="Ansys-ansysli_server.exe DefaultPortUsed:2325" dir=in action=allow program="C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server.exe" enable=yes
netsh advfirewall firewall add rule name="Ansys-lmgrd.exe DefaultPortUsed:1055" dir=in action=allow program="C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\lmgrd.exe" enable=yes
netsh advfirewall firewall add rule name="Ansys-ansyslmd.exe DefaultPortUsed:dynamic" dir=in action=allow program="C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansyslmd.exe" enable=yes

Ansys version 17 and before only:

netsh advfirewall firewall add rule name="Ansys-ansysli_monitor.exe -legacy rule" dir=in action=allow program="C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_monitor.exe" enable=yes
netsh advfirewall firewall add rule name="Ansys-ansysli_client.exe -legacy rule" dir=in action=allow program="C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_client.exe" enable=yes


Windows - via the GUI

  1. These steps must be performed on the computer that the License Manager is installed on.
  2. Windows Search > search for and open Windows Defender Firewall with Advanced Security
  3. On the left, select Inbound Rules > on the right in the Actions Pane select New Rule…
In the New Inbound Rule Wizard:
  1. For the Rule Type step, select Program> select Next
  2. For the Program step, select This program path and enter the following text and then choose Next
    1. "C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server.exe"
  3. For the Action step, select "Allow the connection" and choose Next
  4. For the Profile step, check all boxes (Domain, Private, and Public) and choose Next.
  5. For the Name step, enter an appropriate name, such as "Ansys - ansysli_server.exe", and select Finish
  6. Repeat the process outlined above for the these additional applications:
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansyslmd.exe"
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\lmgrd.exe"

        Ansys version 17 and before only:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_monitor.exe"
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_client.exe"

VPN's / Linux / 3rd Party Software or Hardware Firewall

You only need to allow the applications or ports through the firewall, not both.  We recommend allowing via application rules on the license manager machine, whenever possible, for simplicity. However, if the license manager is installed on Linux or the computer is using s 3rd party software firewall (non-windows) or if there is a hardware Firewall/VPN/Router between the client machine and the license server machine that is blocking traffic over the default ports, it may be easier for your IT Administrator to allow ports instead of applications.

Allow by Application

  • [Ansys Install Location]\Shared Files\Licensing\winx64\ansysli_server.exe
  • [Ansys Install Location]\Shared Files\Licensing\winx64\ansyslmd.exe
  • [Ansys Install Location]\Shared Files\Licensing\winx64\lmgrd.exe
  • Ansys version 17 and before only:
    • [Ansys Install Location]\Shared Files\Licensing\winx64\ansysli_monitor.exe
    • [Ansys Install Location]\Shared Files\Licensing\winx64\ansysli_client.exe

Allow by Ports

  • 1055 - Required for FlexLM communication, lmgrd.exe
  • 2325 - Required for Ansys Licensing Interconnect communication, ansysli_server.exe
  • Dynamic port- Required for Ansys Vendor daemon communication, ansyslmd.exe 
    • You must assign a static port for this service in your license file. See HOW TO - Assign Static Vendor Ansyslmd Port



firewall ports

Did you like this article?

Yes
No

4 out of 7 liked this article

Related Articles

HOW TO - Test & Fix License Manager Connectivity Issues

Setting Custom Ansys License Server/Firewall Ports

INFO - Technical License Server Changes in version 2021 R1

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?