Giter VIP home page Giter VIP logo

Comments (16)

kyleplo avatar kyleplo commented on July 21, 2024 1

I believe Minecraft uses TCP in order to display the server list. I'm having a similar issue, but noticed that if I enter the address and port number manually into the servers tab, I was able to connect. I think this is just an issue with the server list.

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

I thought it should only be necessary to map the UDP port since that is what has worked for me; however, it sounds like mapping both definitely improved your setup. I’ll have to keep this in mind as a possible solution.

So far the UDP only mapping has worked both with Docker Desktop on Windows and regular Docker on Ubuntu. I’ll have to give it a try on Mac to see if that’s the difference.

from docker-minecraft-bedrock-server.

dossjj avatar dossjj commented on July 21, 2024

also had to do this

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

I finally remembered to try this on my Mac and I see what you mean. What's really strange is that I ran two tcpdump's

  • sudo tcpdump -v udp port 19132
  • sudo tcpdump tcp port 19132

There no activity in the tcp one, lots of expected activity in the udp one, but both port bindings were needed to see the server in the iPhone client.

I'm wondering if there's a bug in the Docker Desktop network proxy on MacOS; however, the info from lsof -i:19132 looked ok.

I'll update the README with a note on this behavior or a PR is appreciated.

from docker-minecraft-bedrock-server.

anthonymobile avatar anthonymobile commented on July 21, 2024

im trying to debug a fresh install, and running tcpdump inside the container—that's what you suggest above, right? just checking because sudo isnt installed on your image (nor is tcpdump but that was easily fixed)

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

I was running those commands on my Mac rather than within the container. I was confirming that even though declaring both types of port bindings seem to help, the TCP one isn’t actually used, as I’d expect.

from docker-minecraft-bedrock-server.

MattrCoUk avatar MattrCoUk commented on July 21, 2024

I’m running this on Mac too, created a customised docker-compose, with a trick borrowed from another repo. works well! You can find in my fork.

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

@MattrCoUk Can you provide a link to that?

from docker-minecraft-bedrock-server.

MattrCoUk avatar MattrCoUk commented on July 21, 2024

here you are: https://github.com/MattrCoUk/docker-minecraft-bedrock-server/blob/master/examples/docker-compose.yml

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

Oh...they're not as random as they looked. It would be great if you could PR that example change back to this repo.

from docker-minecraft-bedrock-server.

MattrCoUk avatar MattrCoUk commented on July 21, 2024

sure... how do I do that? :-)

from docker-minecraft-bedrock-server.

MattrCoUk avatar MattrCoUk commented on July 21, 2024

do I need to clone the orig repo update and pull rq?

from docker-minecraft-bedrock-server.

MattrCoUk avatar MattrCoUk commented on July 21, 2024

ok, just found that, will do shortly

from docker-minecraft-bedrock-server.

MattrCoUk avatar MattrCoUk commented on July 21, 2024

dunno how to do it. the PR failed due to test fail.

from docker-minecraft-bedrock-server.

MattrCoUk avatar MattrCoUk commented on July 21, 2024

Trying to get the MC server working on another Mac and run into networking issues again...

Strangely I was able to connect and get on my new MC server world twice by some weird chance, but it prooves not to be repeatable thing...

Tried with macos firewall on/off, even added ports to macos config file. Added the TCP 19123 to docker compose... still no luck.

Any suggestions on how to troubleshoot would be most appreciated...

--
For the reference I have included a fragment of my docker-compose with the trick with limiting of the random second port range. It was working fine for few years on another Mac.
image

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

Troubleshoot with Wireshark and report an issue with your findings to Mojang.

from docker-minecraft-bedrock-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.