Ansys Learning Forum › Forums › Installation and Licensing › Ansys Products › Error connecting to license server › Reply To: Error connecting to license server
Hi Ranga,
You indicate you confirmed port connectivity to the "LMGRD" port.Â
Flexnet licensing also has a Vendor Daemon port would also require network connectivity.
This port is dynamic by default and you can identify the assigned port in the license log.
However, you can set it to a static value by editing the license file VENDOR line and appending "PORT=1056"
ex: VENDOR ansyslmd PORT=1056
Is there a reason why you are attempting to use environment variable ANSYSLMD_LICENSE_FILE?
You could create/modify the file  /cm/shared/apps/ansys/shared_files/licensing/ansyslmd.ini  with contents:
SERVER=1055@LicenseServerName
thanks
Randy