ansys.com home page

     
 

Failed to Open the TCP port in the license file

Print-friendlyPrint-friendly
 

Error Message: Failed to Open the TCP port in the license file

When you start the license server and receive a “Failed to open the TCP port in the license file” error message, try the following solutions:

Make sure that none of the FLUENT daemons are running on the system. If any are running, you must stop them. Here is the complete list of FLUENT daemons:

fluentlm, icem_cfd, artwork, lmgrd

Things to check for:

Make sure that the /etc/hosts file has an entry for 127.0.0.1 localhost.
% cat /etc/hosts 127.0.0.1 localhost

Also:

ping 127.0.0.1

ping hostname

Check if you have a Firewall enabled. If so, add lmgrd, Fluentlm, icem_cfd, and artwork and any other daemon needed to run the licensing software.

In the /etc/nsswitch.conf file, modify the hosts and networks lines so that they refer to files before referring to any database. For example:

Before modifying:

hosts: nis [NOTFOUND=continue] dns
networks: nis [NOTFOUND=return] files

After modifying:

hosts: files [NOTFOUND=continue] nis dns
networks: files [NOTFOUND=continue] nis

This tells the system to search the local database first, then to search NIS or DNS.
Restart the license server after adding this entry to the file.

Home