Configuring proxy settings
If server is being installed in the restricted environment there might be a need to configure proxy settings to let 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:
ZIP
-
Stop License Server if it is running
-
For Linux and Mac OS X run:
<license_server_home>/bin/license-server.sh configure --https.proxyHost <proxy_host> --http.proxyHost <proxy_host> --https.proxyPort <proxy_port> --http.proxyPort <proxy_port>
For 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.
- (Optional) If license server software is behind a proxy which requires authentication, please run:
<license_server_home>/bin/license-server.sh configure --https.proxyUser <proxy_user> --http.proxyUser <proxy_user> --https.proxyPassword <proxy_password> --http.proxyPassword <proxy_password>
for Linux and Mac OS X or
<license_server_home>\bin\license-server.bat configure --https.proxyUser <proxy_user> --http.proxyUser <proxy_user> --https.proxyPassword <proxy_password> --http.proxyPassword <proxy_password>
for Windows
where <proxy_user>
is the user and <proxy_password>
is the password required by the proxy you want to use.
- Start License Server
MSI
-
Stop License Server if it is running
-
Open
C:\ProgramData\JetBrains\LicenseService\conf\LicenseService
directory -
Copy
license-server.jvmoptions.dist
tolicense-server.jvmoptions
-
Add
-Dhttps.proxyHost=<proxy_host>
,-Dhttps.proxyPort=<proxy_port>
,-Dhttp.proxyHost=<proxy_host>
and-Dhttp.proxyPort=<proxy_port>
to the list of options inlicense-server.jvmoptions
-
Save changes
-
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.