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.
Note: proxy user and proxy password can only be configured for server launched using ZIP package.

To configure License Server to use proxy

MSI distributionZIP 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>, -Dhttp.proxyHost=<proxy_host> and -Dhttp.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> --http.proxyHost <proxy_host> --https.proxyPort <proxy_port> --http.proxyPort <proxy_port>
    • On Windows run:
      <license_server_home>\bin\license-server.bat configure --https.proxyHost <proxy_host> --http.proxyHost <proxy_host> --https.proxyPort <proxy_port> --http.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> --http.proxyUser <proxy_user> --https.proxyPassword <proxy_password> --http.proxyPassword <proxy_password>
    • On Windows run:
      <license_server_home>\bin\license-server.bat configure --https.proxyUser <proxy_user> --http.proxyUser <proxy_user> --https.proxyPassword <proxy_password> --http.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 HTTP (port 80) and HTTPS (port 443) connections it needs to establish. Please pay attention - proxy_host should be entered without protocol prefixes (https or https), just a domain name.

Last modified: 7 September 2018