Comments (16)
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.
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.
also had to do this
from docker-minecraft-bedrock-server.
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.
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.
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.
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.
@MattrCoUk Can you provide a link to that?
from docker-minecraft-bedrock-server.
here you are: https://github.com/MattrCoUk/docker-minecraft-bedrock-server/blob/master/examples/docker-compose.yml
from docker-minecraft-bedrock-server.
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.
sure... how do I do that? :-)
from docker-minecraft-bedrock-server.
do I need to clone the orig repo update and pull rq?
from docker-minecraft-bedrock-server.
ok, just found that, will do shortly
from docker-minecraft-bedrock-server.
dunno how to do it. the PR failed due to test fail.
from docker-minecraft-bedrock-server.
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.
from docker-minecraft-bedrock-server.
Troubleshoot with Wireshark and report an issue with your findings to Mojang.
from docker-minecraft-bedrock-server.
Related Issues (20)
- How to Install One Block [ DOCUMENTATION ] HOT 5
- User permissions not letting me toggle as operator HOT 4
- exporting ALLOW_CHEATS=TRUE prevents the server from starting up HOT 3
- Unable to join the server: free(): invalid next size (normal) HOT 2
- Major bugs but logs are empty HOT 6
- Lost data if shutdown and restart? HOT 2
- 1.20.62.03 missing libs error HOT 3
- Command block not working? HOT 1
- Could not connect: Outdated client! HOT 2
- Container not working with Orbstack, for some reason! HOT 2
- Adjust the `docker-compose` command to `docker compose` in the README file HOT 1
- Missing library libssl.so.1.1 HOT 3
- Server.properties command HOT 3
- Can't connect using domain HOT 1
- Try to install mods World Wide Animal HOT 1
- Investigate issues with mv command during version backup
- Looks like the release of 2024.1.0 is failing HOT 2
- How to get the latest version of 1.20.x.y ? HOT 1
- Oracle Cloud port or address fail HOT 2
- Too many open files on M2 Mac HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-minecraft-bedrock-server.