---
title: "JetBrains Local Activation Server Setup Tutorial"
url: https://www.geekcorelab.cn/en-US/post/setup-jetbrains-local-license-server
published: 2026-11-11T13:21:06.182043Z
updated: 2026-11-12T07:05:44.340374Z
author: "hhjmk"
summary: "本文介绍部署本地 JetBrains 许可证服务器。利用 Docker 部署服务，下载 ja-netfilter 工具包并配置 JVM 选项，即可使用激活服务器稳定激活 IDE。"
---

# JetBrains Local Activation Server Setup Tutorial

This article is for learning and exchange purposes only. Please do not use it for commercial purposes.

As is well known, various activation codes and activation servers circulate in some IPFS, and although some are still usable, most have become invalid or unstable. However, there is an open-source project that provides us with a stable local activation server, which also comes with a webui and local activation for paid plugins.

![pasted_file_1794402596739.png](/uploads/2fc66634-73dd-4ac6-8f6c-d337d4af1c64_webp.webp)

![pasted_file_1794402446042.png](/uploads/4b6be867-e383-4294-9296-f85acb1fdf6c_webp.webp)

![pasted_file_1794402471461.png](/uploads/426d1f5c-c15b-47cf-844b-ccfda0705ca1_webp.webp)

## Deploy the Service

The service can be deployed anywhere, including on your local computer, an intranet server, etc.; here it is recommended to deploy using docker or podman.

Here we need to clone the source repository to run the image build once.

```
# 克隆仓库
git clone https://github.com/Blduu/Jetbrains-LicenseServer-Help.git

# 进入项目目录
cd Jetbrains-LicenseServer-Help

# 启动服务
docker compose up -d
```

After starting the service here, docker compose will automatically complete the build and start the service, because build is specified in the compose file.

```
services:
  jetbrains-licenseserver-help:
    build:
      context: . # 指定 Dockerfile 所在目录
      dockerfile: Dockerfile # 显式指定 Dockerfile 文件名
    image: bluesky-jetbrains-licenseserver-help:latest
    container_name: jetbrains-licenseserver-help
    restart: always # 容器异常退出时自动重启
    environment:
      - XBASE64_DOMAIN=BlueSky.cc # 与 application.yml、Dockerfile 默认一致
      - TZ=Asia/Shanghai # 显式指定时区，避免容器时区不一致
    ports:
      - "10768:10768" # 宿主机端口:容器端口（保持原有映射）
    volumes:
      - ./external:/app/external # 外部配置/文件挂载
      - ./logs:/app/logs # 日志目录挂载（匹配 logback 中的 LOG_HOME 路径）
    # 可选：限制容器资源，避免占用过多主机资源
    deploy:
      resources:
        limits:
          cpus: '1'
          memory: 1024M
```

Then visit http://localhost:10768/ to perform the initial setup of the license name and authorized user.

## Settings Required on Your Computer

First, go to the webui you just deployed, download and extract the ja-netfilter toolkit, and replace the extracted path accordingly.

![pasted_file_1794402755604.png](/uploads/0c39a5e9-156b-4bb4-844b-1746db166527_webp.webp)

```
 -javaagent:插件解压路径\ja-netfilter\ja-netfilter.jar
 --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
 --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED 
```

Just make sure the first line points to the `ja-netfilter.jar` file using an absolute path. After replacing it, copy this content, as it will be needed in the next step.

## Settings Required in the IDE

Click the three dots in the upper-right corner of the IDE, expand the full menu, and then find “Edit Custom VM Options” under Help. The VM here refers to the JVM.

![pasted_file_1794402674560.png](/uploads/dded3cca-eabd-437c-9af2-d31ce046a71f_webp.webp)

In the opened file, create a new line and fill in the content copied above. After that, in Help - License Management, you can activate your IDE with an activation code or activation server, but using an activation server is generally more worry-free.
