Passed host header is not allowed
Issue:
When accessing license server page there is an error message saying that "Passed host header is not allowed."
Solution:
If license server is running behind the reverse proxy or a host configured for license server software doesn't match a host of machine where the software is running, please configure virtual hosts property for the License server software:
-
For ZIP distribution please run the following command when license server software is stopped
<license_server_home>\bin\license-server.bat configure --jetty.virtualHosts.names=proxy-server.mydomain.com
for Windows or<license_server_home>/bin/license-server.sh configure --jetty.virtualHosts.names=proxy-server.mydomain.com
for Linux and Mac OS X. -
For MSI distribution please run the following command when JetBrains License Service is stopped
<license_server_home>\apps\license-server\bin\license-server.bat configure --jetty.virtualHosts.names=proxy-server.mydomain.com
.
where proxy-server.mydomain.com
is the host of proxy or the host configured for usage by the license server.
If there are several hosts, please specify them separated with a comma.