IDE Services Cloud Help

Automatic server discovery

Automatic server discovery makes the license activation process easier for your users. It automatically populates the IDE Services URL in the activation dialog, so users don't have to copy and paste it manually.

Set up server discovery using Toolbox App

For users connected to IDE Services via the Toolbox App, the automatic server discovery works out of the box.

You only need to explicitly configure the server discovery if some of your users cannot join your organization via the Toolbox App but still need to obtain licenses from IDE Services.

Set up server discovery manually

You can use any of the following methods to set up automatic discovery:

DNS TXT record

Add a DNS TXT record with the name _jetbrains-license-server to the DNS zone (domain) that the users' machines belong to (for example, company.com).

If the machines are distributed across several DNS zones, add a separate TXT record to each zone.

For the record's text, provide url=<your-ide-services-url>.

Record example

Let's say your machines belong to the company.com DNS zone, and your IDE Services URL is https://ide-services.company.com:8080.

In this case, you'll need to add the following record to the company.com zone:

_jetbrains-license-server.company.com

with this text:

url=https://ide-services.company.com:8080

How to verify your record

To make sure that your record works, run the following command on a user's machine:

dig _jetbrains-license-server.<your-dns-zone> TXT
dig _jetbrains-license-server.<your-dns-zone> TXT
nslookup -type=TXT _jetbrains-license-server.<your-dns-zone>

If everything is working correctly, the response will look like this:

_jetbrains-license-server.<your-dns-zone> 3600 IN TXT "url=<your-ide-services-url>"

Environment variable

Add the JETBRAINS_LICENSE_SERVER environment variable to the local profile on the users' machines. For its value, provide the IDE Services URL.

JVM option

For JetBrains products that can be configured using JVM options, you can use the -DJETBRAINS_LICENSE_SERVER option. For its value, provide the IDE Services URL.

To check if your product supports JVM options and how to specify them, refer to your product's documentation. For example, here are the instructions for IntelliJ IDEA.

Check your configuration

To make sure that your configuration works correctly, follow these steps:

  1. Open a JetBrains product and go to the License Activation dialog.

  2. In the Get license from section, select License server.

  3. Click Discover Server. If your configuration is correct, the IDE Services URL will appear in the Server address field.

    The Discover Server button in the License Activation dialog
Last modified: 25 October 2024