Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server not discoverable through the friends tab as a LAN world. Although connects when directly connecting using the IP. #447

Open
NanoQuark opened this issue Aug 26, 2024 · 3 comments

Comments

@NanoQuark
Copy link

Using tcpdump I see that the server pings my other device on the same network when I punch in the address of the host (Raspberry Pi 4B). Connection works and I see no problems other than the need for my server to BE discoverable on LAN for easy cross-compatibility. However, I also noticed something weird. When removing the saved server in the servers tab, it then immediately appears in the LAN games section, then disappears on the next ping. I'm not sure if this is a bug or a network problem as I am using a public university network, locally only.

@itzg
Copy link
Owner

itzg commented Aug 26, 2024

This image only downloads and runs the software provided by Mojang. Please contact their forum or issue tracker about issues specific to their software.

@ViperRNMC
Copy link

with version 1.21.30 the discovery works on my network

@kimonxx
Copy link

kimonxx commented Dec 23, 2024

If you don't see the server in the friends tab as a LAN world, but can connect through the IP, check the level.dat of your world. Look out for

LANBroadcast:
LANBroadcastIntent:

Both values must be set to 1 to be visible in the LAN.

LANBroadcast: Whether the world has been opened with the "Visible to LAN players" world setting enabled.
LANBroadcastIntent: Whether the "Visible to LAN players" world toggle is enabled.

https://minecraft.wiki/w/Bedrock_Edition_level_format#level.dat

Took me couple of hours to solve my issue. After copying my world on my pc and openend it locally, and then copied it back to the server, the server (world) was not visible in the friends tab anymore, but I was able to connect directly through the servers tab. I didn't change the world settings of the LAN, no clue how that happened. After setting the value to 1 for LANBroadcast the world was visible again in the friends tab.

I have the same issue with the saved server in the servers tab not visible in the friends tab. Although my world stays visible in the friends tab, when I remove it from the servers tab. Maybe that's by design

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants