GithubHelp home page GithubHelp logo

Comments (3)

itzg avatar itzg commented on August 16, 2024

Glad to hear you found the other thread since I was going to suggest monitoring with tcpdump to see if the broadcast packets were arriving at your host.

I actually haven't paid a lot of attention to what docker is dong with my iptables each time, I just know it puts a lot of stuff there. I could have sworn at one point it adds an "accept" rule as a port mapping is declared on containers.

Since the tcpdump capture was empty, then I recommend investigating your network topology. Specifically, I'm pretty sure your xbox and linux host will both need to be on the same network segment, specifically both configured to route via the same gateway IP address.

FWIW, I have been pleasantly surprised to see my xbox auto discover my bedrock container running on Ubuntu, but my host and xbox are both on the same router/mesh network.

from docker-minecraft-bedrock-server.

ndaman avatar ndaman commented on August 16, 2024

Thanks for the help. In regards to network topology: everything is going through the same router and is on the same subnet. I was hoping the problem might be related to port forwarding (many others cited a need to forward both udp and tcp from their router), but doing that does not fix my issue.

I feel like something must be wrong with my tcpdump command or setup, if I am connected to the server (by manually entering the IP address), isn't that traffic going through port 19132?

from docker-minecraft-bedrock-server.

ndaman avatar ndaman commented on August 16, 2024

I'm not sure what exactly solved the problem, in part because some of my debugging efforts may have not discovered what I had intended, but I'm going to document what I did and mark this as closed.

  1. One issue that persists: My XBox can see the local server now, which is all I needed. I was debugging using my Windows 10 PC, which could already connect by typing in the local IP address manually. My PC version of minecraft still does not show the server locally, even though the XBox does, I am wondering if this is because it already has the server saved remotely, and won't show the same server in two locations? Otherwise I'm not sure what's going on there.
  2. I had initially assumed no port forwarding on my router would be needed since everything was on the same local subnet, but following some other suggestions from various sources, I opened 19132 to both tcp and udp on my router (I also added tcp forwarding of port 19132 to my docker start command)
  3. My last resort was to try using BedrockConnect, but after I changed my dns servers per the instructions and logged into Minecraft on the XBox, I could see my local server, so the rest was not needed.

If I get the urge to see which of these actually solved the problem I might update this, but for now it behaves as I want it to and I'm happy with it. Thanks for your help!

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.