> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/iad/installation/offline_licensing.md). Agents can also search and read this documentation through its [MCP server](https://docs.facephi.com/~gitbook/mcp).

# Offline licensing with a local server

This guide explains, step by step, how to get **IAD Service** up and running in an installation **without Internet access**, using a **local license server**.

It is written so you can follow it even if you have no prior experience with software licensing: each step tells you which command to run, what you should see on screen, and what to do if something goes wrong.

## 1. What is offline licensing, and when do I need it?

IAD Service needs a Facephi license to run. By default, the service checks that license by connecting to Facephi's license servers over the Internet.

If your installation **does not have Internet access** (because of a security policy, because it is on an isolated network, etc.), you can use **local offline licensing**:

1. You install a small program called **local license server** (LexFloatServer).
2. That server is activated **just once**, by exchanging two files with Facephi (by email, USB, or whichever channel you prefer). It never needs an Internet connection.
3. From then on, all your IAD Service instances request the license **from that local server**, within your network.

### 1.1 Available license types

| Type                           | Does it need Internet access?                                      | When should you use it?                                                  |
| ------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| **Shared online** (default)    | Yes, IAD Service instances connect to Facephi's servers over HTTPS | Standard installation with Internet access                               |
| **Local offline** (this guide) | No                                                                 | Isolated networks or installations where outbound traffic is not allowed |

### 1.2 How the pieces fit together

```mermaid
flowchart LR
    subgraph RedLocal["Your local network (no Internet)"]
        LFS["Local license server<br/>(LexFloatServer)<br/>port 8090"]
        IAD1["IAD Service<br/>(Docker container)"]
        IAD2["IAD Service<br/>(Docker container)"]
        IAD1 -->|"requests a license"| LFS
        IAD2 -->|"requests a license"| LFS
    end

    Facephi["Facephi<br/>(offline activation:<br/>exchange of 2 files)"]
    Facephi -.->|"just once,<br/>by email or USB"| LFS
```

### 1.3 Key concept: floating licenses

The license provided by Facephi allows a maximum number of **simultaneous** IAD Service instances (for example, 15).

* Each IAD Service instance that starts **borrows** a license from the local server for a specified period (the *loan* or *lease*), and renews it while it is running.
* When the instance stops gracefully, **returns** the license to the server immediately. If the instance terminates abruptly, the license returns to the available pool when the lease expires.
* There is no need to activate or register each container: they can be created and destroyed freely, and only consume a license while it is on loan.

{% hint style="info" %}
Keep in mind that the loan lasts for a fixed period (about 3 hours in a typical configuration). An instance that is stopped with `docker stop`, `docker compose down` or by deleting a Kubernetes pod returns its license immediately, but an instance that terminates abruptly keeps it reserved until the lease expires. Section [10.3](#10-3-comprobar-que-la-licencia-se-ha-consumido-en-el-servidor) explains in detail what this means when restarting the service.
{% endhint %}

## 2. Before you begin

### 2.1 What Facephi provides

Before you begin, you should have received the following from Facephi:

| Item                             | What it is                                     | Example                                     |
| -------------------------------- | ---------------------------------------------- | ------------------------------------------- |
| **License key** (*license key*)  | A code that identifies your license            | `FCF23E-XXXXXX-4FF79D-999BE7-YYYYYY-0FB515` |
| **Product file** (`product.dat`) | A file that identifies the IAD Service product | `product.dat`                               |

Later in the process, Facephi will also send you a third file (`offline_response.dat`) to complete the activation.

{% hint style="info" %}
If you do not have these two items, request them from your Facephi representative before continuing.
{% endhint %}

### 2.2 What you need to prepare

| Requirement                                            | Details                                                                                                                                     |
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **A Linux machine** for the license server             | Linux x86\_64 (for example, Ubuntu 22.04 or 24.04). It can be the same machine that runs IAD Service or another machine on the same network |
| **Administrator permissions** (`sudo`) on that machine | The license server must run as `root`                                                                                                       |
| **A stable IP address** for that machine               | IAD Service instances will use it to locate the server                                                                                      |
| **Accessible TCP port 8090**                           | From the IAD Service machines/containers to the license server                                                                              |
| **IAD Service 2.0.0 or later**                         | See the [Installation Guide](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/iad/installation/installation_instructions.md)       |

{% hint style="warning" %}
**The local license server cannot run inside a Docker container.** It is installed directly on the machine's operating system. This is a limitation of the licensing system, not of IAD Service ([more information](https://forums.cryptlex.com/t/running-lexfloatserver-in-docker/1466)).

If you want to install it on a **virtual machine**, check with Facephi first: the license must expressly allow activation on virtual machines, and cloning or migrating that VM to another host may invalidate the activation.
{% endhint %}

{% hint style="info" %}
**Why a "stable" machine?** When activated, the license server takes a "fingerprint" (*fingerprint*) of the machine's hardware. If you change machines or replace important components in that machine, you will need to repeat the activation (steps 3 and 4). IAD Service containers, by contrast, are completely disposable: you can create and destroy them without affecting the activation.
{% endhint %}

## 3. Step 1 — Install the local license server

Run all commands in this section **on the machine that will serve as the license server**.

### 3.1 Download the program

Download the compressed file provided by Facephi:

> [LexFloatServer-v4.22.0-Linux.zip](https://facephicorp.jfrog.io/artifactory/generic-core-pro-fphi/third-party/cryptlex/v4.22.0/LexFloatServer-v4.22.0-Linux.zip)

{% hint style="info" %}
If the machine has no Internet access, download the file on another computer and copy it over using a USB drive or the internal network.
{% endhint %}

### 3.2 Extract it

Create a working directory and extract the file into it:

```bash
mkdir -p ~/facephi_license_server
cd ~/facephi_license_server
unzip LexFloatServer-v4.22.0-Linux.zip
```

After extracting it, you will see two directories, `amd64` and `arm64`. **Use `amd64`** (this is the one for the usual Intel/AMD processors):

```bash
cd ~/facephi_license_server/amd64
ls
```

You should see at least these two files:

```
config.yml  lexfloatserver
```

| File             | Purpose                                             |
| ---------------- | --------------------------------------------------- |
| `lexfloatserver` | The license server program                          |
| `config.yml`     | Its configuration file (port, panel users, logs...) |

### 3.3 Check that the program works

```bash
./lexfloatserver --version
```

Expected output:

```
Floating License Server v4.22.0
```

## 4. Step 2 — Copy the product file

Copy the file `product.dat` provided by Facephi **to this same directory** (`~/facephi_license_server/amd64`):

```bash
cp /ruta/donde/lo/tengas/product.dat ~/facephi_license_server/amd64/
```

Check that it is there:

```bash
ls ~/facephi_license_server/amd64
```

```
config.yml  lexfloatserver  product.dat
```

## 5. Step 3 — Generate the activation request

In this step, the server generates a file describing the machine on which the license will be activated. You will send this file to Facephi.

{% hint style="info" %}
**Tip: avoid typing the license key every time** Save it in a variable once. Replace the example value with your actual key:

```bash
export LICENSE_KEY=FCF23E-XXXXXX-4FF79D-999BE7-YYYYYY-0FB515
```

If you close the terminal, you will need to run this line again.
{% endhint %}

From the `amd64`:

```bash
cd ~/facephi_license_server/amd64
sudo ./lexfloatserver --generate-offline-request \
  --license-key $LICENSE_KEY \
  --product-file ./product.dat \
  --config ./config.yml \
  --offline-request ./offline_request.dat
```

What each part of the command means:

| Part                         | Meaning                                    |
| ---------------------------- | ------------------------------------------ |
| `sudo`                       | The server needs administrator privileges  |
| `--generate-offline-request` | “Generate the activation request for me”   |
| `--license-key`              | Your license key                           |
| `--product-file`             | The file `product.dat` from Facephi        |
| `--config`                   | The configuration file included in the ZIP |
| `--offline-request`          | Name of the request file to be created     |

Expected output (the date and time will vary):

```
[2026-09-16 11:31:28+02:00] INF Offline activation request generated successfully!
```

You now have a new file:

```bash
ls -la offline_request.dat
```

{% hint style="warning" %}
**Send the file `offline_request.dat` to Facephi** (by email or via the agreed channel) and wait for their response. Facephi will send you a file called `offline_response.dat`.

Meanwhile, **do not delete or move** the folder or the file `offline_request.dat`, and **do not reinstall the operating system** on that machine: Facephi's response is only valid for that machine and this request.
{% endhint %}

## 6. Step 4 — Activate the server with Facephi's response

When you receive the file `offline_response.dat`, copy it to the same folder:

```bash
cp /ruta/donde/lo/recibiste/offline_response.dat ~/facephi_license_server/amd64/
```

And activate the server:

```bash
cd ~/facephi_license_server/amd64
sudo ./lexfloatserver --activate \
  --license-key $LICENSE_KEY \
  --product-file ./product.dat \
  --config ./config.yml \
  --offline-response ./offline_response.dat
```

Expected output:

```
[2026-09-16 11:40:37+02:00] INF Offline activating license key...
[2026-09-16 11:40:37+02:00] INF License activated successfully!
```

{% hint style="info" %}
**Activation only needs to be done once.** You don't need to repeat it every time you start the server. You only need to repeat steps 3 and 4 when:

* the license expires and Facephi provides you with a renewal,
* you move the license server to another machine,
* or you change major hardware components on that machine.
  {% endhint %}

## 7. Step 5 — Check the activation

```bash
cd ~/facephi_license_server/amd64
sudo ./lexfloatserver --status \
  --license-key $LICENSE_KEY \
  --product-file ./product.dat \
  --config ./config.yml
```

Expected output:

```
Activation Status: OK
License key: FCF23E-XXXXXX-4FF79D-999BE7-YYYYYY-0FB515
Days Left To Expiration: 0
```

`Activation Status: OK` confirms that the server is activated correctly.

{% hint style="info" %}
`Days Left To Expiration` indicates how many days remain until the license expires. If your license has no expiration date configured, this value appears as `0`.
{% endhint %}

## 8. Step 6 — Start the license server

### 8.1 Option A: manual startup (recommended for the first test)

```bash
cd ~/facephi_license_server/amd64
sudo ./lexfloatserver --start \
  --license-key $LICENSE_KEY \
  --product-file ./product.dat \
  --config ./config.yml
```

The server remains **running in the terminal** and displays what's happening. Expected output:

```
[2026-09-16 11:40:58+02:00] INF Starting floating license server...
[2026-09-16 11:40:58+02:00] INF Total number of available floating licenses: 15
[2026-09-16 11:40:58+02:00] INF Listening on port: 8090
```

The line `Total number of available floating licenses` tells you **how many instances of IAD Service you can run at the same time** with your license.

To stop it, press `Ctrl + C`.

{% hint style="warning" %}
If you close the terminal, the server stops and **the IAD Service instances will stop renewing their licenses**. For a production installation, use Option B.
{% endhint %}

### 8.2 Option B: install it as a system service (recommended for production)

This way, the license server starts automatically when the machine is turned on:

```bash
cd ~/facephi_license_server/amd64
sudo ./lexfloatserver -i \
  --service-name facephi-license-server \
  --license-key $LICENSE_KEY \
  --product-file ./product.dat \
  --config ./config.yml
```

To stop or start it later:

```bash
sudo service facephi-license-server stop
sudo service facephi-license-server start
```

And if you ever need to uninstall it:

```bash
cd ~/facephi_license_server/amd64
sudo ./lexfloatserver -d --service-name facephi-license-server \
  --license-key $LICENSE_KEY --product-file ./product.dat --config ./config.yml
sudo ./lexfloatserver -u --service-name facephi-license-server \
  --license-key $LICENSE_KEY --product-file ./product.dat --config ./config.yml
```

| Option | What it does                            |
| ------ | --------------------------------------- |
| `-i`   | Installs the server as a system service |
| `-d`   | Deactivates the server license          |
| `-u`   | Uninstalls the system service           |

### 8.3 Check that the server responds

From the license server machine itself, replacing `TU_API_KEY` with the value of `auth.apiKey` in your `config.yml`:

```bash
curl "http://localhost:8090/api/server/stats?apiKey=TU_API_KEY"
```

Expected response:

```json
{"leaseDuration":10798,"allowedFloatingClients":15,"totalFloatingClients":0,"leasingStrategy":"per-instance","version":"4.22.0","status":"ok"}
```

The values that matter:

| Field                    | Meaning                                                          |
| ------------------------ | ---------------------------------------------------------------- |
| `status`                 | `ok` if the server is operational                                |
| `allowedFloatingClients` | Maximum number of simultaneous instances allowed by your license |
| `totalFloatingClients`   | Instances currently using a license                              |
| `leaseDuration`          | License lease duration, in seconds                               |

Now repeat the check **from the machine where IAD Service will run**, to make sure it can reach the server over the network:

```bash
curl -s -o /dev/null -w "%{http_code}\n" http://192.168.1.193:8090/api/server/stats
```

Replace the IP address with that of your license server. If the response is `401`, **the connection is working**: this code only indicates that you haven't included the `apiKey`, which isn't needed for this check.

{% hint style="warning" %}
If you get no response or a connection error, IAD Service won't be able to obtain a license either. Check the license server machine's firewall and make sure TCP port 8090 is open to the network where IAD Service runs.
{% endhint %}

### 8.4 Optional settings in the file `config.yml`

You don't have to change anything, but these are the settings most commonly changed:

| Value in `config.yml`    | Default                    | Purpose                                                                                                                                                                                                       |
| ------------------------ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `server.port`            | `8090`                     | Port on which the license server listens                                                                                                                                                                      |
| `server.leaseDuration`   | `60`                       | Number of seconds the license "lease" lasts. If your license defines its own duration, the license setting takes precedence: check the actual value in `leaseDuration` from `/api/server/stats` (section 8.3) |
| `auth.apiKey`            | `PASTE_SOME_RANDOM_STRING` | Key for querying server statistics                                                                                                                                                                            |
| `auth.admins`            | `admin` / `admin123`       | Server web panel username and password                                                                                                                                                                        |
| `logging.file.directory` | `./logs`                   | Folder where server logs are stored                                                                                                                                                                           |

{% hint style="warning" %}
If you plan to keep the license server running permanently, **change the default username and password** (`admin` / `admin123`) and set your own value for `apiKey`. After editing `config.yml`, restart the server.
{% endhint %}

## 9. Step 7 — Configure IAD Service to use the local server

Now go to the machine where **IAD Service**.

### 9.1 Create the license file

IAD Service reads its license from a file called `license.lic`. Create it with the following contents:

```ini
LICENSE_TYPE=LOCAL
LICENSE_BEHAVIOUR=OFFLINE
LICENSE_KEY=FCF23E-XXXXXX-4FF79D-999BE7-YYYYYY-0FB515
LICENSE_URLS=http://192.168.1.193:8090
```

Replace:

* `LICENSE_KEY` with **your** license key (the same one you used to activate the server).
* The IP `192.168.1.193` with the **real IP address of your local license server**.

Meaning of each field:

| Field               | Value              | Explanation                                                                                                                                                       |
| ------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `LICENSE_TYPE`      | `LOCAL`            | The license is served by a server on your network                                                                                                                 |
| `LICENSE_BEHAVIOUR` | `OFFLINE`          | The server was activated without Internet access                                                                                                                  |
| `LICENSE_KEY`       | Your key           | The license key provided by Facephi                                                                                                                               |
| `LICENSE_URLS`      | `http://IP:PUERTO` | Local license server address. Multiple addresses can be specified, separated by commas (see [section 11](#11-alta-disponibilidad-varios-servidores-de-licencias)) |

{% hint style="info" %}
In IAD Service 2.0.0 and later **you don't need to specify `LICENSE_ID` or `LICENSE_DATA`**: this data is already included in the service. If it appears in the file, it is ignored, and the service reports this in the log.

In `LOCAL` mode, the entity activated with the license key is the **local server**, and it decides whether to grant the license. Even so, always specify your actual key in `LICENSE_KEY` to keep the file consistent with the other modes.
{% endhint %}

### 9.2 Place the license file

Save the file as `license.lic` inside the license folder that you mount in the container:

```bash
mkdir -p ~/facephi_iad/license
# create or copy the license.lic file here
chmod 644 ~/facephi_iad/license/license.lic
```

### 9.3 Start IAD Service

The `docker-compose.yml` is the same as in the standard installation; the only thing that changes is the contents of `license.lic`:

```yaml
services:
  iad-service:
    image: facephicorp.jfrog.io/docker-pro-fphi/facephi-iad-service:v3.0.0
    container_name: facephi-iad-service
    ports:
      - "6982:6982"
    volumes:
      - ~/facephi_iad/license:/app/license
      - ~/facephi_iad/config:/app/config
      - ~/facephi_iad/logs:/app/logs
    restart: unless-stopped
```

```bash
docker compose up -d
```

{% hint style="warning" %}
**The container must be able to reach the license server.** Always use the **network IP address** of the license server in `LICENSE_URLS`, never `127.0.0.1` or `localhost`: inside the container, `localhost` refers to the container itself, not the host machine.
{% endhint %}

## 10. Step 8 — Verify that everything works

### 10.1 Check the IAD Service log

```bash
docker logs facephi-iad-service
```

Look for this line:

```
License initialized successfully from: /app/license/license.lic
```

### 10.2 Check the service

```bash
curl http://localhost:6982/api/v1/iad/health
```

```json
{
  "engine": {
    "healthy": true,
    "lastError": "",
    "lastHealthCheckAt": "2026-09-16T09:42:12Z",
    "lastHealthKnown": true
  },
  "initialized": true,
  "message": "Healthy"
}
```

The important fields are `"message": "Healthy"` and `"initialized": true`: this means the service has obtained the license from the local server and is ready to process captures.

```bash
curl http://localhost:6982/api/v1/iad/version
```

```json
{
  "message": "3.0.0 Copyright © 2026 FacePhi Biometria. All rights reserved."
}
```

### 10.3 Verify that the license has been consumed on the server

From the license server machine, using the `apiKey` that you have in `config.yml`:

```bash
curl "http://localhost:8090/api/floating-licenses?apiKey=TU_API_KEY"
```

You’ll see one entry for each IAD Service instance that has a license in use:

```json
[{"id":"8abd0b8e-c14c-40b8-84b4-667615ce86a0","ip":"192.168.2.2","os":"linux","hostname":"e1883ee20f84","offline":false,"createdAt":1789551695,"expiresAt":1789562493}]
```

The license server log will also show the license grant and how many licenses remain available:

```
INF Floating license request from IP address: 192.168.2.2
INF Client Id: 8abd0b8e-c14c-40b8-84b4-667615ce86a0 Floating license request successful for IP address: 192.168.2.2
INF Remaining floating licenses count: 14
```

You can also open `http://IP_DEL_SERVIDOR:8090` in your browser and sign in with the user configured in `config.yml`.

{% hint style="warning" %}
**Important when restarting instances**

When you stop an IAD Service container cleanly (`docker stop`, `docker compose down` or delete a Kubernetes pod), the service **returns its license to the server immediately** and it becomes available for another instance. You can check this by repeating the previous query: the entry for that instance disappears.

If the container terminates abruptly (for example, with `docker kill`, because Docker or Kubernetes times out while stopping it, because the system stops it due to insufficient memory, or because the machine crashes), the license **does not become available immediately**: the server keeps it reserved until the lease expires, that is, for the number of seconds specified in `leaseDuration` (in the example above, 10798 seconds ≈ 3 hours).

Therefore, each instance that terminates abruptly leaves a license occupied until it expires, and the next startup consumes another license. Keep this in mind when sizing the number of floating licenses, especially in environments where instances restart frequently.
{% endhint %}

## 11. High availability (multiple license servers)

You can install **more than one local license server** so the service continues running if one of them goes down. Install and activate each server by following steps 1 through 6 (each one needs its own offline activation).

Then, specify all the addresses, separated by commas, in the file `license.lic`:

```ini
LICENSE_TYPE=LOCAL
LICENSE_BEHAVIOUR=OFFLINE
LICENSE_KEY=FCF23E-XXXXXX-4FF79D-999BE7-YYYYYY-0FB515
LICENSE_URLS=http://192.168.1.193:8090,http://192.168.1.194:8090
```

How IAD Service behaves:

* When requesting a license, it first tries the server it was already using, if any, and then goes through the servers in the list until one responds. The order in which it does this is fixed: it may not match the order of `LICENSE_URLS`, but it is the same across all instances. Therefore, usage **is not distributed** across the servers: while the first server in that order is available, all instances obtain their license from it, and the others act as backups. Size each server to handle all instances.
* While the service is running, it checks the license every 30 seconds. If the server it was using stops responding, it switches to another server in the list **without interrupting the service**.
* If **no** server in the list responds, the service remains running but has no valid license: `GET /api/v1/iad/health` starts returning HTTP `503` with `message` equals `Invalid license: <motivo> (code: <código>)`, capture operations return HTTP `400` with that same `message`, `GET /api/v1/iad/version` adds `Invalid license` to the message and `GET /api/v1/iad/metrics` classifies the service as `unhealthy` with the alert `LICENSE_EXPIRED`. As soon as one of the servers responds again, the service automatically recovers its license without needing a restart.

## 12. Frequently asked questions

**Does the machine running IAD Service need Internet access?** No. It only needs network access to the local license server (port 8090).

**I deploy on Kubernetes, and the pods are ephemeral. Is that a problem?** The hardware “fingerprint” is taken on the **license server**, not on the pods: pods can be freely created and destroyed without affecting activation. A pod that Kubernetes stops gracefully returns its license immediately; by contrast, the license of a pod that terminates abruptly (for example, because its shutdown grace period expires, the system stops it due to low memory, or its node fails) remains reserved until its lease expires (see the notice in [step 8](#10-paso-8-comprobar-que-todo-funciona)). Allow enough headroom in the number of floating clients to account for these cases, not just the number of running pods.

**What happens if I start more instances than allowed?** Instances that exceed the limit will not obtain a license and will not start. Check how many licenses are in use and how many your license allows using the query in section 8.3.

**Do I have to repeat activation every time I restart?** No. Activation is a one-time process. It only needs to be repeated when renewing the license, moving the server to another machine, or changing its hardware.

**Can I move the license server to another machine?** Yes, but first you must deactivate it on the old machine (option `-d`) and then repeat steps 3 to 6 on the new one. Contact Facephi to coordinate this.

**Can the license server be run in a Docker container?** No. It must run directly on the machine’s operating system.

## 13. Troubleshooting

| Symptom                                                                                                                                 | Most likely cause                                                                   | Solution                                                                                                                                                                                                                      |
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Access denied! Make sure you have root privileges` when running `lexfloatserver`                                                       | The command was run without `sudo`                                                  | Run the command again, prefixing it with `sudo`                                                                                                                                                                               |
| Activation fails after the request is submitted                                                                                         | The file `offline_response.dat` does not correspond to this machine or this request | Run step 3 again on **that same machine** and sends the new request to Facephi                                                                                                                                                |
| The server starts, but from another machine `curl http://IP:8090/api/server/stats` does not respond (not even with a `401`)             | Firewall or incorrect IP                                                            | Open TCP port 8090 and check the IP address of the license server                                                                                                                                                             |
| The container starts and then stops on its own, with the error `Network connection to the floating license server failed` (`LF_E_INET`) | The container cannot reach the license server                                       | Check that the license server is running, that `LICENSE_URLS` uses the network IP address (not `localhost` or `127.0.0.1`) and that port 8090 is open                                                                         |
| The container starts and then stops on its own, indicating that no licenses are available                                               | Floating licenses have run out                                                      | Check the licenses in use (section 8.3). Remember that licenses from instances that ended abruptly remain occupied until their lease expires                                                                                  |
| Already-started instances keep running, but new ones cannot obtain a license                                                            | The license server has stopped, or the terminal where it was started was closed     | Start the license server (step 6) and install it as a system service so it starts automatically. Running instances keep their license for the duration of their lease and reclaim it automatically when the server comes back |
| `Failed to open license file: /app/license/license.lic`                                                                                 | The file is not in the mounted folder or does not have read permissions             | Check the volume in `docker-compose.yml` and run `chmod 644 license.lic`                                                                                                                                                      |

If the problem persists, collect the license server log (the `logs` folder next to the executable) and the output of `docker logs facephi-iad-service`, and contact Facephi support.
