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
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 texturl=http://fls.company.com:8080
.Verify the record using the command line:
dig _jetbrains-license-server.<domain_name> TXTdig _jetbrains-license-server.<domain_name> TXTnslookup -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:
Open the IDE and go to the License Activation dialog.
Choose License server, then click Discover Server. The FLS address should automatically appear in the corresponding field.
Click Activate to connect to FLS.
