docker-minecraft-bedrock-server icon indicating copy to clipboard operation
docker-minecraft-bedrock-server copied to clipboard

LAN server doesn't show up in clients unless net=host

Open Nurgus opened this issue 4 years ago • 4 comments

Server seems to be starting ok but there's no way to connect to it from my android or ios devices. It doesn't show up in the "friends" tab at all.

If I set the docker to net=host then it works.

Docker arguments: -e EULA=TRUE --volume minecraft-data:/data -e UID=1002 -e GID=1002 -p 19132:19132/udp

What's wrong?

Nurgus avatar Oct 17 '21 14:10 Nurgus

You're setting up the container correctly, so I can't offer much advise other than troubleshooting the network activity with wireshark/tcpdump on the docker host.

itzg avatar Oct 17 '21 21:10 itzg

Are you running your server on Linux or Win / Mac?

Windows and Mac distributions for Docker works thanks to an hidden linux Virtual Machine and that can cause Network / Hardware troubles.

macchie avatar Oct 22 '21 16:10 macchie

I just remembered I have also found the client/app itself can be part of the problem. Force quitting the app on my phone and then restarting it fixes server discovery issues sometimes for me.

itzg avatar Oct 22 '21 17:10 itzg

Any news here? I have the same problem. Minecraft server is running fine according to logs but on iOS nothing is shown. Restarted docker and Minecraft apps several times.

jh1777 avatar Apr 08 '22 19:04 jh1777