Home / Guides / Friends on different Wi-Fi
How to Play Minecraft With Friends on Different Wi-Fi (Java & Bedrock)
“Open to LAN” only works on the same Wi-Fi. Here are the ways to play Minecraft with friends who live somewhere else — free and paid, for Java and Bedrock.
“Open to LAN” is great when everyone is in the same house. As soon as a friend is on different Wi-Fi, it stops working: LAN worlds are only visible on your own network. Here are the ways around it.
The options
| Way | Cost | Works for | Your PC must be on? |
|---|---|---|---|
| Minecraft Realms | Monthly subscription | Java or Bedrock (not both together) | No |
| Bedrock: join through Xbox friends | Free | Bedrock only | Yes |
| Your own server + VoxelPort | Free | Java, plus Bedrock with crossplay | Yes |
| Paid server hosting | Monthly | Java and Bedrock | No |
Java Edition: share your world in a few minutes
You have two choices.
Option A: a proper server (recommended). The world keeps running even when you’re not in it, and friends can join anytime your PC is on.
Get VoxelPort from the Microsoft Store (Windows 10 and 11), download the Windows installer directly (if Windows warns, click More info → Run anyway), or get the Linux build from GitHub. It's free, open source, and needs no account.
- In VoxelPort, click + Add Server and choose a template such as Survival SMP.
- Agree to the EULA and click Install & start.
- Click Make public and send your friends the address.
- They open Multiplayer → Add Server, paste it, and join.
Option B: share a singleplayer world you’re already in.
- In your world, press Esc → Open to LAN → Start LAN World. Minecraft shows the port in chat, for example “Local game hosted on port 51234”.
- In VoxelPort, click Tunnel a server I already run elsewhere, enter that port and click Start hosting.
- Send your friends the address VoxelPort shows.
world.Bedrock Edition (phone, console, Windows)
Bedrock players who are Xbox friends can join each other’s worlds directly through the Friends tab, for free. That only works while the host is in the world, and only for Bedrock players.
To mix Java and Bedrock players, or to keep a world running without the host in it, run a Java server with crossplay. See how to set up a Java + Bedrock server.
Tips
- Everyone must use the same Minecraft version as the server (Java), or a version Geyser supports (Bedrock).
- Turn on the whitelist in the server’s Settings if you only want your friends to join.
- Supporters can claim a custom address so friends don’t have to remember a port number.
Questions
Why can’t my friend join my LAN world?
“Open to LAN” only announces your world on your own network. A friend on different Wi-Fi can’t see or reach it unless you put it online with a relay, a virtual LAN tool or port forwarding.
Is there a free alternative to Realms?
Yes. You can host a server on your own PC and share it with a free relay such as VoxelPort. The difference is that your PC must be on while people play; Realms runs all the time.
Can Java and Bedrock players play together?
Not in Realms or LAN. A Java server with Geyser and Floodgate lets Bedrock players join; VoxelPort can install both with one switch.
More guides
- How to Host a Minecraft Server From Your Android Phone (Free)
- Free Minecraft Server Hosting With No Sleep, No Queue and No RAM Limit (2026)
- Free Minecraft Server Hosting in India (2026): Free Hosts vs Your Own PC
- How to Make a Minecraft Server for Free (Java + Bedrock, 2026)
- Minecraft Server Kaise Banaye — Free, Bina Port Forwarding (Jio/Airtel)
- Playit.gg, Ngrok and Hamachi Alternative for Minecraft (Free, No Port Forwarding)
- How to Host a Minecraft Server on Jio or Airtel Without Port Forwarding
- How to Host a Minecraft Server Without Port Forwarding (Free)
- How to Make a Minecraft Server Java and Bedrock Players Can Both Join
- How to Get a Free Minecraft Server Address (and a Custom One With No Port Number)
- Minecraft Server Crashing? Common Errors and How to Fix Them
- How to Make a Minecraft Server for Your School or College Friends (Free)
- How to Play a Minecraft Modpack With Friends for Free
- Free Aternos Alternative With No Queue: Host Minecraft on Your Own PC
- How to Make a Minecraft Server Your Friends Can Join From Their Phones
- Free Minecraft Server Hosting in Europe: No Port Forwarding, Low Ping
- Minecraft Server Behind DS-Lite or CGNAT: How to Host It Anyway
- Minecraft Server ohne Portfreigabe hosten: kostenlos, auch bei DS-Lite
- VoxelPort Fabric Mod: Install and Use Guide (Minecraft 26.1 to 26.3)