query port not exposed (udp)
Closed this issue · 3 comments
Hello,
I haven't done any testing regarding this, but it seems like the query port is not exposed on the dockerfile, hence, the player list is unavailable.
I've set query_enabled: true with - query_port: 25577 on the bungee config.yml, and I made sure to map the port:
proxy:
user: "${uid}:${gid}"
depends_on:
- db
extra_hosts:
- "host.docker.internal:host-gateway"
image: itzg/bungeecord
container_name: "${proxy}"
restart: always
tty: true
stdin_open: true
volumes:
- ./proxy:/server:rw
ports:
- "25565:25577/tcp"
- "25565:25577/udp"
environment:
TYPE: "BUNGEECORD"
BUNGEE_JOB_ID: "lastStableBuild"
MEMORY: "512m"
ENABLE_RCON: falseThis may be user error, or a plugin making my life difficult, but for what I've seen, it looks like only EXPOSE $SERVER_PORT is exported, but it should be exposing the UDP port too with EXPOSE $SERVER_PORT/udp as seen here.
Not all ports need to be EXPOSEd in the Dockerfile. In fact, none of them need to be. It's more of a documentation, defaults convenience.
The problem must be elsewhere. Setting the port numerical value the same as the TCP is technically allowed but seems risky. Have you tried setting that to a different port?
I still don't know what's the issue, yes, I tried different ports. It may be related to using a dual stack with IPv6 and IPv4, but I still don't know
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.