Claim yours now

Guides

How to Play Minecraft Java Edition with Friends Without Port Forwarding

Updated

You can play Minecraft: Java Edition with friends without port forwarding in seven main ways: open your world to LAN and share it through a tunnel such as playit.gg, use the Essential mod or the e4mc mod (each shares your single-player world), join a private network with Tailscale or ZeroTier, pay for Realms, use a free host, or use a paid host.

Tunnels and mods are quickest if one person is always online. Hosts are better if friends want to play when the owner is away.

Last checked: 6 October 2026

Why port forwarding fails: CGNAT in plain words

Your home router normally has its own public internet address. Port forwarding tells it, "send Minecraft traffic to this PC." Some ISPs share one public address across many homes. This is carrier-grade NAT (CGNAT). The ISP's equipment sits in front of your router, and you can't add rules to it, so port forwarding has no effect.

Quick check: if your router's WAN IP differs from what a "what is my IP" site shows, or starts with 100.64 to 100.127, you are probably behind CGNAT. Every option below works around it.

Looking for an invite button? As of 7 October 2026, the Java Edition friends list can add friends and show who is online, but it cannot join a friend’s world: Mojang removed that in 26.2 Pre-Release 1. See where the invite button went.

The options compared

OptionCostNeeds the owner online?Setup effortGood for
LAN + tunnel (playit.gg)Free tier availableYes, unless run on an always-on PCMediumSelf-hosters behind CGNAT
Essential modFree to hostYesLowQuick sessions in a single-player world
e4mc modFreeYesLowSame, and friends join with a normal game
Tailscale / ZeroTierFree personal plansYesMedium; every friend installs itSmall trusted groups
RealmsMonthly subscription ($7.99 USD a month for Java on minecraft.net)NoVery lowFamilies and groups who want official hosting
Free hostsFree, with limitsNoLowCasual groups that accept the host's limits
Paid hostsMonthly feeNoLow to mediumModded servers, plugins, bigger groups

Where Shulkerboxes fits (and doesn't)

Shulkerboxes is free Java Edition hosting for a friend group, with no ads, no credit card and no port forwarding. Friends can join any time, even while the owner is offline. Every player sees a notice before playing. Servers run Paper with built-in homes and /tpa, you can upload a world you already have, and your saved world is yours to download. The owner gets a private support channel with us on Discord. Bedrock players (phones and Windows) can join too, with the Bedrock address shown on your server card. You can add data packs from your server page. Paper plugins are supported, including your own private jars. Upload a plugin’s .jar on your server’s Version / plugins page, or zip your whole server folder and upload it as your world, and its plugins come along. A plugin must be made for the Minecraft version your server runs. A server holds up to 128 plugins; the page’s Add plugin and Install buttons stop at 16, so a bigger set comes in with the ZIP. We do not promise that a plugin works on a Minecraft version its author did not build it for.

Open to everyone for now.

Claim yours nowHow is it free?

Option details and steps

LAN plus a tunnel (playit.gg)

  1. Run a dedicated server on your PC, or open a single-player world to LAN.
  2. Make a free playit.gg account and run the playit agent (it runs on Windows, macOS, Linux, and Docker).
  3. Follow its setup to create a Minecraft Java tunnel pointing at your local port. A dedicated server uses 25565 by default. A LAN world uses a random port unless you type one in the "Port Number" box when opening to LAN.
  4. Give friends the address playit gives you. Only you run the agent. Friends just connect.

playit.gg has a free tier and a paid Premium plan; check its pricing page for what each includes. Pros: works behind CGNAT, and supports mods and plugins because it's your server. Cons: your PC must stay on, and traffic goes through playit's servers, which can add latency.

Essential or e4mc

Both are mods the host installs with a mod loader. With Essential, you open your world and invite friends through the mod; its wiki says up to 8 players can be connected at once and the host has to stay online. Check Essential's wiki for what friends need installed to join. With e4mc, you open to LAN as normal and share the public address it shows; its page says joiners can use a normal, unmodded game.

Pros: no server setup at all. Cons: the world is only online while the host plays, and the host needs a supported mod loader (Fabric, Forge, NeoForge, or Quilt for e4mc; Fabric, Forge, or NeoForge for Essential) and game version.

Tailscale or ZeroTier

These create a private network between your devices. Everyone installs the app and joins your network, then connects to the host's private IP. Both have free plans for personal use (ZeroTier's free plan is for personal, non-commercial use and covers 10 devices on one network). Check their pricing pages for current limits.

Pros: no public exposure, low latency when direct connections work. Cons: every friend has to install and sign in, which is a lot to ask of casual players.

Realms

The official paid service. The owner pays monthly and invites friends. No addresses or ports. On minecraft.net, Realms for Java is listed at $7.99 USD a month, for you plus 10 players at the same time, with a server available 24/7.

Pros: simplest option, always on, official. Cons: costs money every month, and the number of players online at once is capped. Check the Realms page for what you can customize.

Free hosts

Services such as Aternos, Minehut, and FalixNodes run the server for you. Each has its own trade-offs, such as waiting at busy times, ads, servers that stop or sleep when empty, or resource limits. Check each host's own site for its current free plan. See our Aternos alternatives page for a fuller comparison.

Paid hosts

You rent a server, usually by the month. Most paid hosts offer a control panel and plugin and mod support; check each plan. Pros: no PC needed, full control. Cons: cost and some admin work.

Troubleshooting

  • Friends get "Connection timed out" through a tunnel. Check the tunnel's local port matches the port your server or LAN world uses. See the timeout guide.
  • LAN world port keeps changing. Set a fixed port when opening to LAN, or run a dedicated server.
  • Mod-based sharing fails. Make sure everyone uses the same game version and mod version. Version errors are covered in our outdated server guide.
  • Tailscale connects but the game doesn't. Allow Java through the host's firewall for the Tailscale network.

FAQ

Is there a way to play Java with friends for free without port forwarding?

Yes. Tunnels, Essential, e4mc, Tailscale, ZeroTier, and free hosts all have free options.

How do I know if I have CGNAT?

Compare your router's WAN IP with a "what is my IP" site. Different values, or a 100.64 to 100.127 address, suggest CGNAT.

Is a tunnel safe?

It exposes your server to anyone with the address. Use a whitelist and keep online mode on.

Can friends play when I'm offline?

Only with a hosted option (Realms, free or paid hosts) or a server on an always-on machine.

Can I use the Java friends list to play with friends?

Not to play together, as of 7 October 2026. The friends list adds friends and shows their status, but joining a friend's world was removed in 26.2 Pre-Release 1 and 26.3 did not restore it. Use LAN, a mod such as Essential or e4mc, or a server.

Sources