Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

docs(env): warn against SEARXNG_PORT colliding with APP_PORT (#3385)

Frank_zhu68e21b6e7473
diff --git a/.env.example b/.env.example
index 906c4602c..99442b725 100644
--- a/.env.example
+++ b/.env.example
@@ -636,6 +636,12 @@ WEKNORA_SANDBOX_DOCKER_ENABLED=false
# 端口默认仅监听 127.0.0.1,避免把开了 limiter:false 的实例暴露到 LAN。
# 如需对内网开放,显式覆盖 SEARXNG_BIND=0.0.0.0 并自行加固。
# SEARXNG_PORT=8888
+# Do not set SEARXNG_PORT to the same value as APP_PORT (default 8080).
+# On Linux, binding SearXNG to 127.0.0.1:8080 while the app also publishes
+# :8080 makes localhost:8080 hit SearXNG first — POST /api/v1/auth/login
+# then returns SearXNG's HTML 404 even though DISABLE_REGISTRATION only
+# closes registration (see discussion on issue #3296). Keep SearXNG on 8888
+# (or another free port).
# SEARXNG_BIND=127.0.0.1
# SEARXNG_SECRET=
# Tavily Search API Key(可选,启用 Tavily 网页搜索提供者)。