Floating License Server Help

Passed host header is not allowed

Issue

An attempt to access Floating License Server page fails with an error message "Passed host header is not allowed."

Solution

If FLS runs behind the reverse proxy or a host configured for FLS software doesn't match a host of machine where the software is running, configure virtual hosts property for FLS software:

  1. Stop FLS
  2. <fls_home>/bin/license-server.sh configure \ --jetty.virtualHosts.names=proxy-server.mydomain.com

    where value of --jetty.virtualHosts.names is the host of proxy or the host configured for usage by FLS. If there are several hosts, specify them separated with a comma.

  3. Start FLS
  1. Stop FLS
  2. <fls_home>\bin\license-server.bat configure \ --virtual-hosts=proxy-server.mydomain.com,proxy-server2.mydomain.com,host3

  3. <fls_home>\bin\license-server.bat configure --virtual-hosts-default=all-known *or* local *or* none

  4. Start FLS

Where virtual-hosts-default is MSI-based-only parameter, accepts one of these values:

none - by default, no virtual hosts are added. If the property “virtual-hosts” is also not set, then the virtual-hosts list is empty and there will be no restriction applied on the "Host" header.

local - by default, the list of virtual hosts contains all the local interfaces of the server including the configured "listen" address and server hostnames.

all-known - by default, the list of virtual hosts contains all the network interfaces of the server including the configured "listen" address and server hostnames.

Last modified: 26 April 2019