Pumpkin-Docs/docs/zh_cn/troubleshooting/common_issues.md
Alexander Medvedev 5c23b676ed feat: d binding
2026-09-17 09:23:24 +02:00

21 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 常见问题
1. ## 无法验证用户名
**问题:** 一些玩家报告在登录服务器时遇到问题,包括遇到"无法验证用户名"的错误。
**原因:** 这与身份验证有关,通常与 `prevent_proxy_connections` 设置有关。
**解决方法:** 在 `pumpkin.toml` 中禁用 `prevent_proxy_connections`
2. ## 无法使用 0.0.0.0 连接到服务器
**问题:** 在本地电脑上运行服务器的玩家在输入 `0.0.0.0` 或 `0.0.0.0:25565` 时无法连接(例如遇到“Connection refused”错误)。
**原因:** 在 `pumpkin.toml` 中,`0.0.0.0` 指示 Pumpkin 监听所有本地网络接口。这是服务器的绑定地址,并不是客户端可以连接的有效目标地址。
**解决方法:**
- 如果在**同一台电脑**上连接,请在 Minecraft 客户端中输入 `localhost` 或 `127.0.0.1`。
- 如果在**同一局域网(LAN)中的其他设备**上连接,请使用主机的局域网 IP 地址(例如 `192.168.x.x`)。
- 如果通过**互联网**连接,其他玩家必须使用你的公网 IP 地址或域名(并需要在路由器上设置端口转发)。