0

For some reason with my Minecraft server running within a docker stack, it seems like people are going through a proxy. All IP's are internal (10.255.0.16). I can not seem to find the correct way to word this problem as for where I could do a manual Google Search if anyone could help me on my way that would be awesome!

version: '3'

services:
    skyblock:
        image: ashdev/minecraft-spigot:1.12.2
        ports:
        - "25565:25565"
        volumes:
        - ".:/minecraft"
        environment:
            MINECRAFT_EULA: "true"
            DEFAULT_OP: "MattsOnMc"
            MINECRAFT_VERSION: 1.12.2
            JVM_OPTS: "-Xmx1500m -Xms500m"
4

1 回答 1

0

我的问题是由于我使用默认的“桥接”模式网络造成的。

通过更新以使用“主机”模式网络,IP 开始正确显示

skyblock:
    image: ashdev/minecraft-spigot:1.12.2
    ports:
    - target: 25565
      published: 25565
      protocol: tcp
      mode: host
于 2018-05-03T23:54:25.743 回答