From 0df56d72d619e7695b0a4d73d1284eb7115e871d Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Wed, 6 Mar 2024 11:03:01 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20-Djava.net.preferI?= =?UTF-8?q?Pv4Stack=3Dtrue=20=E5=90=AF=E5=8A=A8=E5=8F=82=E6=95=B0=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8c9793f..28af208 100644 --- a/README.md +++ b/README.md @@ -75,3 +75,9 @@ dependencies { - 部分通用的工具代码在 `cn.hamster3.mc.plugin.core.common.util` 包中 - 部分Bukkit的工具代码在 `cn.hamster3.mc.plugin.core.bukkit.util` 包中 - 部分BungeeCord的工具代码在 `cn.hamster3.mc.plugin.core.bungee.util` 包中 + +# 已知问题 + +部分 Windows 服务器在启动时偶尔会遇到 Redis 链接失败的问题 +如果服务器启动时遇到报错 `Caused by: java.io.IOException: Unable to establish loopback connection` +可以通过在启动脚本中添加 `-Djava.net.preferIPv4Stack=true` 参数解决