Why you normally have to forward ports
Your router shares a single public address among everything at home and blocks whatever arrives from outside. For a friend to join you would have to redirect port 25565 to the server computer, and that fails if your provider shares one IP between several customers (CGNAT) or if you can't access the router. A tunnel avoids all of that: your PC opens a connection to the tunnel service, and that service receives your friends and hands the connection over.
Hosting it yourself is free: the server runs on your computer, you pay no monthly fee and there are no plan limits on players or mods. In return it is only available while your PC is on and the server is started.
Step by step with MC-ServerLauncher
- 1
Create your server
Install the app (Windows, Linux or macOS), click “New” and “Create a new one”, pick the type and version, tick “I accept the Minecraft EULA” and create the server. If you want mods, follow the modded server guide first.
- 2
Connect your Playit account
Create a free account at playit.gg. In the app, open “Tunnels” and paste the one-time setup code Playit gives you. The app creates the tunnel and runs the Playit agent for you: you install nothing else.
- 3
Turn the tunnel on for your server
In the server settings, under “Network and access”, turn on “Internet tunnel (Playit.gg)”.
- 4
Start the server and copy the address
Click “Start”. The public address appears on its own within seconds; click “Copy” and send it to your friends.
- 5
Your friends join
In Minecraft Java, they go to “Multiplayer”, “Add Server” and paste the address. They must use the same Minecraft version as the server.
What limits this method
- The server is only available while your PC is on and the app is open. To make it use nothing when nobody is playing, see how to make a Minecraft server stop itself when it is empty.
- Your upload speed decides how many players you can handle well: each one constantly sends and receives data.
- Playit's free plan has its own conditions; check its website for the current ones.
- If you share the address, turn on the whitelist so only the people you choose can join.
Don't have the server yet? Start with how to download the Minecraft server (official jar). If you are curious about web panels, see the comparison of Minecraft server managers.

