Java and Bedrock; Java LAN uses TCP, Bedrock uses UDP · 3 min read

Minecraft over a home network: share a world and connect by address

Local play requires compatible clients on the same available network. If world doesn't appear automatically, try a direct address: this separates the discovery problem from the connection itself.

LonelyCraft editors · Updated

Several players set up a village and meet around the campfire
Illustration: Several players set up a village and meet around a campfire. This is an artistic scene, not a snapshot of a specific server.

Before sharing the world

Check the edition and full version number. Match the modded Java assembly with the required mods. Regular Java LAN does not accept Bedrock from the phone. Participants must be on the same network without isolating clients; the same Wi-Fi name does not guarantee access if one is connected to the guest segment.

Java LAN without autolist
Edition scheme: java lan without automatic list.Scroll the diagram horizontally.Open full-size diagram

Java: Record current session port

The owner opens his world → Esc → Open to the network / Open to LAN. Select the mode allowed for guests and command meaningfully, then open world. Write down the port that appears in the chat: for example 51234. This is an example, not a standard port for each LAN session.

On the host computer, find the local IPv4 of the active adapter via ipconfig in Windows or system network settings. The friend opens Online Play → Direct Connect and enters 192.168.1.20:51234, replacing both parts. localhost from a friend means his own device.

Once the world or client is closed, the session ends. When opening again, check the port again. In Java 26.2+ the permissions of the host and guests are separated in World Options/Open to LAN; Don't expect one switch to give everyone the same rights.

Bedrock: allow LAN in world

The owner opens the settings of the selected world → Multiplayer game and turns on the desired network game and visibility for LAN, if this item is available on the platform. The rest are looking for a local session in the friends/games section. The ability to play online also depends on your Microsoft account and its family settings.

If world is visible, but input is rejected, write down the exact error: version, network play rights and communication are different branches of the diagnostic. Don't try to fix a Java/Bedrock mismatch by opening a port.

If the connection fails

Temporarily compare both devices on a regular home network without VPN and guest Wi-Fi. Allow incoming gameplay connections in the private network firewall without disabling the entire firewall. For Java, check the current LAN TCP port, for a separate BDS, check the configured UDP port.

The owner has the storage; the guest's exit does not create a copy of world for him. Copy world after closing the game if you want to continue on another computer. For access without the host computer running, consider a separate server or Realms.

LAN solves the problem of a local network. Playing with friends from different cities.

Transfer the entire save if you change owners. Java-world port.

Frequently asked questions

Why didn't world appear in the list?

Check direct IPv4:port, Wi-Fi isolation and firewall: Autodiscovery may not work separately from the connection.

Why doesn't yesterday's address work?

The host IP or port of the new Java LAN session may have changed.

Can I connect Java to Bedrock LAN?

Not directly: editions use different protocols.

Views: … · One view per browser per day

Was this useful?Total score: …

One reaction per browser. Click again to remove it, or choose the other reaction.

Sources and documentation

LANfriendsnetwork

Read on

Minecraft over a home network: share a world and connect by address — Lonely Craft