Modify the license file tekla.lic manually

Tekla Structures
Tekla Structures

Modify the license file tekla.lic manually

If you selected the Automatic installation option, the license server is set to your hostname: 27007@server_hostname ( port@hostname ).

The licensing system automatically searches for an available TCP/IP port and uses the first available port detected. The Automatic installation sets the port to 27007.

You need to modify the tekla.lic license file if you:

  • Select the Manual license server installation option

  • Want to change the TCP/IP port of the licensing server

  • Want to use the IP address of your computer instead of the hostname

To modify the license file tekla.lic manually:

  1. Go to the ..\TeklaStructures\License\Server folder on the server computer.
  2. Open the tekla.lic file in a text editor.
  3. Make the necessary changes:
    • To use hostname or IP address: Replace text on the first line between words SERVER and ANY with the hostname or IP address of your license server.

      Do not delete texts SERVER and ANY when you enter the hostname or IP address of the license server.

      The following formats are valid:

      Hostname: server_hostname

      Domain name:

      IP address:

      You can check the hostname of the license server in LMTOOLS on the System Settings tab. Go to Tekla Structures Licensing > LMTOOLS through the Start menu or Start screen , depending on your Windows operating system.

    • To set the TCP/IP port manually: Enter the TCP/IP port number after text SERVER server_hostname ANY.

      The port number can be any free port in the range of 0 - 64000.

  4. Save the changes and close the text editor.
  5. Restart the Tekla Structures Licensing Service in LMTOOLS or Windows Services for the changes to take effect.
Was this helpful?