How to Host a Minecraft Server Without Port Forwarding
Port forwarding is the classic way to let friends reach a Minecraft server on your PC, and it is also where most first servers die. Maybe you cannot log into the router, the setting does nothing, or your internet provider uses something called CGNAT that makes forwarding impossible. The good news: you have several other options, and some are easier than forwarding ever was.
First: check whether you are behind CGNAT
CGNAT means your provider shares one public IP across many homes. Forwarding a port on your router does nothing, because the traffic never reaches it.
Quick test:
- Log into your router and find its WAN or Internet IP address.
- Search "what is my IP" in a browser.
- If the two numbers are different, you are probably behind CGNAT.
Addresses starting with 100.64 to 100.127 on the router are a sure sign. Mobile hotspots, satellite internet and many fiber and 5G home plans use CGNAT. Some providers will give you a public IP if you ask, sometimes for a fee.
Option 1: LAN (same house only)
If everyone is on the same Wi-Fi, you do not need forwarding at all.
- Find your PC's local IP: on Windows run
ipconfigand look for IPv4 Address (something like192.168.1.25). - Friends add a server with that address. If you changed the port, add it:
192.168.1.25:25565. - Allow Java through Windows Firewall when it asks, on Private networks.
Works great for siblings and LAN parties. Does nothing for friends across town.
Option 2: A VPN tool like Tailscale or ZeroTier
These tools put your PC and your friends' PCs on a private network over the internet. To Minecraft it looks like LAN, even though they are miles away. Both have free plans that cover a friend group.
Tailscale:
- Install Tailscale on the PC running the server and sign in.
- Each friend installs Tailscale and joins your network. You invite them from the admin page, or share the machine with their account.
- Your PC gets an address like
100.101.102.103. - Friends join Minecraft with
100.101.102.103(plus:portif it is not 25565).
ZeroTier works the same way: you create a network, friends join it with the network ID, you approve them, and they connect to your ZeroTier IP.
Good: free, private, no router changes, works through CGNAT. Not so good: every player must install the app, which is a hard sell for a public SMP. Console players (Xbox, PlayStation, Switch) cannot install it at all.
Option 3: A tunnel service
A tunnel runs a small program next to your server that keeps a connection open to the tunnel company's servers. They give you a public address, and players connect to that. Nobody else installs anything.
Good: a real public address, works through CGNAT, free tiers exist. Not so good: traffic takes a detour through the tunnel's server, so ping can be higher depending on where it is. Free plans often limit bandwidth or give random-looking addresses. Your PC still has to be on for anyone to play.
Pick a well-known tunnel with a Minecraft-specific setup guide, and never run random "port opener" downloads.
Option 4: Host the server somewhere else
All the options above share one problem: the server only exists while your PC is on. When you go to bed, the world goes offline for everyone.
A hosted server lives in a data center with a public address already, so there is nothing to forward and nothing to configure on your router. It also takes the load off your PC, so the game runs smoother for you too. See how to keep a Minecraft server online 24/7 and how much a Minecraft server costs.
If you want to try hosting before paying anything, FreaksMC has a free trial with no card required: you get your own address and can invite friends straight away.
Which option should you pick?
| Situation | Best option |
|---|---|
| Everyone in the same house | LAN |
| 2 to 5 friends on PC, free | Tailscale or ZeroTier |
| Friends on console, or you do not want them installing anything | Tunnel or hosting |
| You want it online when your PC is off | Hosting |
| Public server for strangers | Hosting |
Things that will not fix it
- UPnP mods or "open port" tools. They do the same thing as port forwarding, so they fail for the same reasons.
- Turning off the firewall completely. Allow Java instead. Turning it off is risky and does not get around CGNAT.
- Using your public IP from your own PC. Many routers cannot loop back to themselves, so the address fails for you even if it works for friends. Test from a phone on mobile data instead.
If friends still cannot connect after picking an option, go through why can't my friends join my Minecraft server, and see Minecraft server port 25565 explained for port details.
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo