mojira.dev
MCPE-162670

Random LAN Games may appear

On the friends tab after pressing play, there are random LAN games. When I try to join them, they just say they cannot connect. Their names are blank and they say offline. On my phone, it happens even on cellular data. It's probably just something going on with my account but I thought i'd report it and see if it can be reproduced and fixed.

Linked issues

MCPE-179081 Random LAN servers appearing in friends tab Resolved MCPE-178686 From Ver.1.20.60, unknown users started appearing...Bug? Resolved MCPE-162761 A unknown server pop up that you can’t join, under local/friends Resolved MCPE-162710 When I go to see if any friends are playing, there is constantly(at least one) “offline LAN” game as an option. Resolved MCPE-162694 Unknown friends showing up Resolved

Attachments

Comments 14

This is caused by the default ping response of servers hosted with Aternos.

 

I work at Aternos and we've looked into this issue for a few hours now, trying out all kind of different options.

When our Bedrock dedicated servers go offline, we redirect the DNS record to a fallback server, that shows this "Offline" ping with the iron golem emoji, and when the player tries to connect we respond in a kick message with more information, e.g. that the server is currently offline, or already starting etc.

This is implemented using this library: https://github.com/PrismarineJS/bedrock-protocol 

We updated this library ca. a week ago and it now includes a longer response to the offline ping which includes information about the port. After trying all kinds of combinations we discovered that this bug is happening when the ping response includes a different IPv4 port than what the server is actually trying to connect to and what the player entered in the server list.

Our guess is that the client tries to match ping responses to servers in the server list by IP + port and when it can't find a matching one, it just assumes that it's a LAN game. This is not only an annoying bug but a potentially dangerous exploit as it could be used by malicious actors to display anything on the "Friends" tab.

For now, we've switched back to the "old" ping responses, which don't include port information, which seems to temporarily resolve this problem. Unfortunately, in our current setup it's not possible for us to determine which port the client connects to, because we run our fallback server on almost all available ports through iptables and an Nginx proxy as a load balancer.

 

Ok. I understand most of it at least. I hope it gets fixed soon.

Does this issue still occur in the current version?

Nvm, just happened to me yesterday. The names on these random games are not always “unknown”. Often they look like real games and it gives a disturbing impression that someone has hacked into your Friends list.

In my case, in latest preview (1.20.70.20), I saw Mineville server showing up as a LAN advertised game in my friends tab, and I was able to connect to click on the LAN entry, and successfully join the Mineville server.  The LAN entry was generally quick to disappear though, and I was only able to connect through the entry once.

4 more comments

This issue has been reviewed by our team.

Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.

If a fix is implemented, it will be listed in our official changelogs.

For major outages or urgent assistance, visit the Minecraft Help Center.

This has also been occuring on my PC after I hit play then the back arrow and then play again. They appear for a couple of seconds and then disapear. I haven’t tried to join them though.

Screenshot 2026-08-21 003422.png

Can confirm this happens on the Nintendo Switch version. Video was captured less than 30 minutes ago.

https://www.youtube.com/watch?v=t5Ks74N7eew

At first I ignored it, then I got curious and clicked on one random lan game and it let me in !!!

Getting this issue on an iPhone and two iPad models. Very upsetting because this bug occurs even on child accounts and there is no way to fix it in parental controls without disabling multiplayer entirely.

migrated

(Unassigned)

908054, 1670081

Confirmed

Multiple

Android 10 and Windows 10 Pro

1.19.30, 1.20.1 Hotfix, 1.20.60, 1.20.62 Hotfix, 1.21.51 Hotfix

Retrieved