Invite friends to your own Minecraft Java server
Keep your world, mods, and server settings on your own machine. Tubu carries the game connection through your router so friends can join without a port forwarding rule.
5 simultaneous tunnels · 1 reserved fourth-level domain · 10 GB/month
Start your Java Edition server and check that you can join locally on port 25565. Use your own Tubu hostname in both commands.
Set TUBU_TOKEN to your Tubu API key in this shell.
npx tubu-cli tcp 25565 --domain my-craft.tubu.devOn each player’s computer
npx tubu-cli forward 25566 --domain my-craft.tubu.devIn Minecraft Java, open Multiplayer, choose Direct Connection, and enter 127.0.0.1:25566. Each player runs their own forward; only the host needs the Tubu API key.
Bring your own world
Run the server on the computer that stores your world. For a modded server, ask players to use the game version and modpack your server requires.
Invite your players
Keep player authentication enabled and use the server allowlist for a private group. Share the forward command with invited players.
Check a play session
Keep the server and both ends of the tunnel running. Try joining and loading chunks together, then check traffic usage in your Tubu account.