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

      • Troubleshooting

          • Errors & Solutions

              • License Management

                  • Info

                      • Remote Solve Manager

                          • Employee Login

                          Can't find what you're looking for?

                          Contact Support

                          Installation & Licensing Center

                          • Home
                          • Installation
                            Installation Guides Installation Tasks Requirements & Info Optional Configurations Uninstallation
                          • Troubleshooting
                            Troubleshooting Guides License Manager Connectivity Issues License Checkout Issues Application Functionality Issues Windows OS / Hardware Issues CAD Plugin Issues Project Specific Issues Uninstallation Guides Diagnostic Resources & Logs Other Tasks
                          • Errors & Solutions
                            Behavior Based Issues & Solutions Error Messages & Solutions
                          • License Management
                            FlexNet Licensing Shared Web Licensing Elastic Licensing Licensing Portal Administration License Borrowing Reporting & Usage Stats Other
                          • Info
                          • Remote Solve Manager
                          + More

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

                          Authored by Caleb Scharf September 20th, 2024 21244 views 9 likes KB944034

                          Description

                          The Ansys License Manager communicates with clients using two different services & ports, three if your clients are using 2020R2 or prior. These must be manually allowed through the firewall on the License Server computer (and potentially on your network in higher IT security environments), before clients will be able to communicate and check out licenses. 

                          Ansys Requires Three Ports/Services to be Allowed

                          • 1055 - FlexLM Service (lmgrd.exe)
                          • Dynamic port - Vendor Daemon Service (ansyslmd.exe) 
                            • By default, changes every time the license manager is started.
                            • This process/port is required for versions 2021R1 or later and for some services prior versions.
                            • We recommend setting a custom static Vendor Daemon port. 
                            • For versions 2020 R2 and prior, this is only required for Electronics products, and to view license status.
                          • 2325 - Ansys Licensing Interconnect Service (ansysli_server.exe)
                            • Only required for client versions 2020 R2 and prior.
                               

                          I have a High Security Network

                          If your network has additional security measures in place that restrict traffic/services on your network & computers, such as VPN's, Routers, EDR software or Non-windows firewalls (Linux, Symantec, McAfee, etc.), you will need to contact your Network Administrator to configure these services/ports to allow Ansys as well.

                           

                           

                          Solution

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

                           

                          Windows - via CMD Prompt (Recommended & Fastest)

                          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 twice.
                            • After each command, if successful, it will return "Ok." in the command prompt window.

                              Tip:  copy and paste all the following commands in one swoop.
                          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
                          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

                           

                           

                          Ansys version 17 & Prior Only

                          Run the following commands in additional to the ones above:

                          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

                            “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 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 Prior 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"
                           
                           

                          Linux, VPN's, Non-Windows Firewalls, EDR

                          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 (lmgrd.exe) - Required for FlexLM communication
                          • Dynamic port (ansyslmd.exe) - 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 Daemon Port (ansyslmd.exe)
                          • Ansys Version 2020R2 and Prior Only
                            • 2325 (ansysli_server.exe) - Required for Ansys Licensing Interconnect communication.
                           
                           

                           

                           

                          firewall ports

                          Was this helpful?

                          Yes
                          No

                          9 out of 16 found it helpful

                          Related Articles

                          HOW TO - Test & Fix FlexNet License Manager Connectivity Issues

                          HOW TO - Set Custom/Static License Server Ports

                          INFO - License Server Changes in version 2021 R1

                          Popular Articles

                          Ansys Download & Installation Guide (Start Here!)

                          INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

                          HOW TO - Uninstall Ansys Software

                          HOW TO - Test & Fix FlexNet License Manager Connectivity Issues

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

                          Was this helpful?

                          Yes
                          No
                          Give feedback about this article

                          Can't find what you're looking for?

                          Contact Support

                          Recently Updated

                          • HOW TO - Reset Your Ansys Profile Folder
                          • ERROR - Mechanical failed to open the database
                          • HOW TO - Troubleshoot a Windows Bluescreen (BSOD)
                          • HOW TO - Clear Shared Web Licensing Credential Cache
                          • HOW TO - Generate a Personal Access Token for an Unattended Workflow
                          • HOW TO - Borrow & Return an Ansys License
                          • ERROR - Ribbon/Toolbar Missing From Fluent
                          • HOW TO - Manage Users & Groups for Shared Web Licensing
                          • ERROR - Tomcat Vulnerability CVE-2025-24813 detected in Ansys License Manager
                          • General Inquiries & Sales:
                          • (800) 566-9190
                          • Info@SimuTechGroup.com
                          • Contact Support
                          • Software
                          • Services
                          • Case Studies
                          • Ansys Training
                          • Consulting
                          • Technical Support
                          • About SimuTech
                          • Careers
                          • Privacy

                          © 2025 SimuTech Group


                          Knowledge Base Software powered by Helpjuice

                          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