簡體   English   中英

Openshift Minecraft服務器超時

[英]Openshift Minecraft Server timeout

我最近通過此教程Openshift上制作了Minecraft服務器。 完成端口轉發后,我可以在Minecraft中獲得與服務器的連接。 但是我無法登錄! Timed-Out消息結尾: Timed-Out 在服務器日志中,我僅看到以下信息:我失去了連接。 以下是日志:

2016-01-01 17:29:17 [INFO] Starting minecraft server version 1.
2016-01-01 17:29:17 [INFO] Loading properties
2016-01-01 17:29:17 [INFO] Default game type: SURVIVAL
2016-01-01 17:29:17 [INFO] Generating keypair
2016-01-01 17:29:18 [INFO] Starting Minecraft server on 127.2.1
2016-01-01 17:29:18 [INFO] Preparing level "world"
2016-01-01 17:29:18 [INFO] Preparing start region for level 0
2016-01-01 17:29:20 [INFO] Preparing spawn area: 52%
2016-01-01 17:29:20 [INFO] Done (1.911s)! For help, type "help"
2016-01-01 17:30:41 [SEVERE] Reached end of stream
2016-01-01 17:30:41 [INFO] /127.2.105.129:29361 lost connection
 java.io.IOException: Bad packet id 72
    at ei.a(SourceFile:193)
    at ci.i(SourceFile:250)
    at ci.c(SourceFile:16)
    at cj.run(SourceFile:94)
2016-01-01 18:10:21 [INFO] /127.2.105.129:32075 lost connection
 java.io.IOException: Bad packet id 72
    at ei.a(SourceFile:193)
    at ci.i(SourceFile:250)
    at ci.c(SourceFile:16)
    at cj.run(SourceFile:94)
2016-01-01 18:10:21 [INFO] /127.2.105.129:32098 lost connection
 java.io.IOException: Bad packet id 72
    at ei.a(SourceFile:193)
    at ci.i(SourceFile:250)
    at ci.c(SourceFile:16)
    at cj.run(SourceFile:94)

java.io.IOException: Bad packet id 72將處理格式錯誤的數據包。 我已經讀過了什么意思,從未指定正確的端口到嘗試與不兼容的Mod版本連接。

就您而言,您似乎在server.properties中顯式定義了server-ip 在起始日志中:

2016-01-01 17:29:18 [INFO] Starting Minecraft server on 127.2.1

127.2.1不是有效地址,因此對我來說,數據包傳輸格式錯誤。 將此字段保留為空白(默認情況下為空白)或提供有效的IPv4地址。

我對此很有信心,因為您提供的教程還使您可以設置此字段。

Bad packet id 72表示您正在嘗試登錄端口配置不正確的服務器。 在日志中,您提到了2016-01-01 17:29:18 [INFO] Starting Minecraft server on 127.2.1.

解決方案:(我已將測試服務器配置為與您的測試服務器相似)1.轉到server.properties,然后在server-ip:部分中,然后刪除內容。 這將使其成為默認IP

  1. 轉到路由器主頁並將端口轉發到25565

  2. 現在應該可以了

祝您在新服務器上好運! :)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM