License Server Help

Automatic server discovery

This topic is relevant for system administrators. To make the authorization process easier for users, enable automatic server discovery. This way IDEs will automatically insert the server URL in the License Activation dialog.

Configure automatic server discovery

Pick one of the three ways to point JetBrains product to FLS.

Add a DNS TXT record

  1. If you use DHCP in your internal network, you also get the DNS domain name via DHCP (<domain-name>). In this case, add a DNS TXT record to the corresponding DNS zone (<domain-name>).

    For example, if your FLS is running on http://fls.company.com:8080, add the following record: _jetbrains-license-server.company.com with text url=http://fls.company.com:8080.

  2. Verify the record using the command line:

    dig _jetbrains-license-server.<domain_name> TXT
    dig _jetbrains-license-server.<domain_name> TXT
    nslookup -type=TXT _jetbrains-license-server.<domain_name>

    A valid response should look like this:

    _jetbrains-license-server.<domain_name>. 3600 IN TXT "url=http://fls.company.com"

Add an environment variable

Add the JETBRAINS_LICENSE_SERVER environment variable to the local profile on the users' machines. Set the FLS URL as it's value.

Add a JVM option

For the JetBrains products that can be configured with JVM options, you can add the -DJETBRAINS_LICENSE_SERVER option and set the FLS URL as it's value.

Refer to your product's documentation to learn how to set JVM options. For example, here's the JVM settings description for IntlliJ IDEA.

Check your configuration

To check your configuration:

  1. Open the IDE and go to the License Activation dialog.

  2. Choose License server, then click Discover Server. The FLS address should automatically appear in the corresponding field.

  3. Click Activate to connect to FLS.

License Activation dialog for IntelliJ IDEA
Last modified: 20 September 2022