From 971e49f2fc2a04c4ed108077f84a14100800fd6f Mon Sep 17 00:00:00 2001 From: zstar <65890619+zstar1003@users.noreply.github.com> Date: Sat, 14 Jun 2025 14:28:56 +0800 Subject: [PATCH] =?UTF-8?q?docs(README):=20=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新 README.md 中的项目文档链接 - 在 question/README.md 中新增端口冲突解决方法 --- README.md | 7 ++++++- docs/question/README.md | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 72de45d..c8796b7 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,12 @@ Ragflow-Plus 是一个基于 Ragflow 的二次开发项目,目的是解决实 [![Ragflow-Plus项目简介与操作指南](https://i0.hdslb.com/bfs/archive/f7d8da4a112431af523bfb64043fe81da7dad8ee.jpg@672w_378h_1c.avif)](https://www.bilibili.com/video/BV1UJLezaEEE) -文档教程:[xdxsb.top/ragflow-plus](https://xdxsb.top/ragflow-plus) +项目文档:[xdxsb.top/ragflow-plus](https://xdxsb.top/ragflow-plus) + +使用 Docker 快速启动: +```bash +docker compose -f docker/docker-compose.yml up -d +``` ## 🛠️ 如何贡献 diff --git a/docs/question/README.md b/docs/question/README.md index 6b8edfa..3f04697 100644 --- a/docs/question/README.md +++ b/docs/question/README.md @@ -35,6 +35,22 @@ **回答:** 可以,兼容ollama及在线api(硅基流动平台)。 +## 问题 8:端口冲突报错如何解决? + +```bash +(HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:5455 -> 0.0.0.0:0: listen tcp 0.0.0.0:5455: bind: An attempt was made to access a socket in a way forbidden by its access permissions.s +``` + +**回答:** 该问题原因是 Windows 网络地址转换服务(WinNAT),该服务为 Hyper-V、WSL2 或 Docker 等虚拟化技术提供网络地址转换(NAT)功能 。WinNAT 在运行时会随机保留一部分 TCP/UDP 端口供虚拟网络使用。这些保留端口可能与应用所需端口冲突。 + +通过以下命令,可以停止服务,释放这些保留端口,允许用户临时使用它们。 +```bash +net stop winnat +netsh int ipv4 add excludedportrange protocol=tcp startport=5455 numberofports=1 +net start winnat +``` + + ---