If you're trying to access your Ansys licenses by connecting to a license server, but are getting a connection error there are several steps you can try to fix the issue. Some common solutions to this problem are:
1.) Verify that the server machine and client machine are connected to the same network. Open the Command Prompt and type "ping <server name>".
2.) Verify that the name (or IP address) entered in the server line of the License Client Settings and the server name are the same. Enter the server name on the client computer by going to Start > Ansys (version name) > Ansys Licensing Settings (right-click and run as administrator). Type the server name under Server 1, the port number is 1055 by default. Test the connection, if the test is successful, click Save and try again. If the test is unsuccessful continue to the next steps.
3.) Check that the license file provided matches the server name and the name inserted in the client Ansys Licensing Settings from step 2. The server name is found on the first line of the license file "SERVER <server name>". The server name must match exactly.
4.) Verify that all the relevant executables are allowed passed the firewall on the server machine. See the following YouTube video for how to do this:
5.) Verify that ports 1055 and 2325 are open using the telnet command. For this, you will need the IP address of the server machine. This can be found by running the ipconfig command on the server machine. Once you have the server ip, go to the command prompt of the client machine and use the telnet command. The syntax is telnet server_ip port#. Check both ports 1055 and 2325.
6.) Verify that the ports on the server machine are static and not dynamic.
7.) In the Client Licensing Settings, use hostname instead of IP Address. Check if the client machine can translate the host name to IP address, if no, It is required to change the hosts file manually to establish the relationship.