License Server Help

Configuring proxy settings

If License Server is being installed in a restricted environment there may be a need to configure proxy settings to let the server establish required connections.

To configure License Server to use proxy

MSI distribution

ZIP distribution

  1. Stop License Server if it is running

  2. Open following directory:
    C:\ProgramData\JetBrains\LicenseService\conf\LicenseService

  3. Copy license-server.jvmoptions.dist to license-server.jvmoptions

  4. Add -Dhttps.proxyHost=<proxy_host>, -Dhttps.proxyPort=<proxy_port> to the list of options in license-server.jvmoptions

  5. Save the changes

  6. Start License Server
  1. Stop License Server if it is running.

    • On Linux/Mac OS X run:
      sh <license_server_home>/bin/license-server.sh configure --https.proxyHost <proxy_host> --https.proxyPort <proxy_port>

    • On Windows run:
      <license_server_home>\bin\license-server.bat configure --https.proxyHost <proxy_host> --https.proxyPort <proxy_port>

    where <proxy_host> is the host and <proxy_port> is the port of the proxy you want to use.

  2. (Optional) If license server software is behind a proxy which requires authentication:

    • On Linux/Mac OS X run:
      sh <license_server_home>/bin/license-server.sh configure --https.proxyUser <proxy_user> --https.proxyPassword <proxy_password>

    • On Windows run:
      <license_server_home>\bin\license-server.bat configure --https.proxyUser <proxy_user> --https.proxyPassword <proxy_password>

    where <proxy_user> is the user and <proxy_password> is the password required by the proxy you want to use.

  3. Start License Server.

After these changes License Server will start using proxy for HTTPS (port 443) connections it needs to establish. Please pay attention - proxy_host must be entered without protocol prefix, just a domain name.

Last modified: 3 December 2018