Nuacht

You can open a game to LAN in both Java and Bedrock Editions of Minecraft A port may sometimes need to be provided for players to join your Minecraft LAN game (Image via Mojang) ...
Minecraft players connecting with others in 2021 #1 - Java To join another player's world on Java edition, which is for PC, the host must open their world to LAN.