Connecting a Client to a License Server

After you set-up a license server, you must configure clients to connect to the license server. Once this is done, the client will be able to use the server's licenses to launch the product.

You can also connect a client to a server manually by writing the configuration file yourself. This can be useful if you want to script the client configuration or if you want to do it in a command line.

To configure a client manually, you need the following information:

  • The hostname of the license server.
  • The port used by the license server, if specified.
  • The port used by the vendor daemon, if specified.

By default, the ports used by the license server and the activation daemon are not specified and they will automatically select ports when they are launched. So, unless you configured the license server to use specific ports, you only need the hostname of the license server.

The client configuration file is in a specific location depending on the client platform:

  • Windows: C:\flexlm\license.dat
  • macOS or GNU/Linux: /usr/local/flexlm/licenses/license.dat