Guide

How to make a Minecraft server without port forwarding 2026

Learn how to host a Minecraft server for friends without router access. Fix connection timed out errors, bypass CGNAT, and play without Hamachi or Ngrok.

Creating a Minecraft server for friends
Creating a Minecraft server for friends
Quick start

PortPlay is a global proxy service that publishes your local game server through port tunneling. You do not need a public IP address from your provider. Jump straight to PortPlay installation.

Host Minecraft server behind CGNAT with PortPlay

PortPlay.net solves the biggest problem of home-hosted servers: no external IP address (CGNAT). If you constantly get "connection timed out" because you can't port forward, PortPlay is the solution. Instead of configuring your router and paying for a static IP, you install the PortPlay client and your server becomes reachable through an external address.

Why PortPlay is useful
  • No router setup required
  • Works with almost any ISP
  • Automatically detects running servers
  • Includes a free plan to get started

Install PortPlay

1

Download the PortPlay client

Visit the official website PortPlay.net and download the client for your operating system. Then launch the installer.

2

Install and launch the application

Follow the installer steps. After installation, open the PortPlay app.

Login screen
Login screen
3

Sign in or register

On the first launch you need to create an account or sign in. A Google account is usually the fastest option.

Ready to go

After signing in, you will arrive at the main application window. Now you can launch your Minecraft server.

Main app window
Main app window

Method 1: Launch from inside the game

The fastest option is to open your world to LAN directly from Minecraft.

1

Open your single-player world

Launch Minecraft and load the world you want to share.

2

Open the world to LAN

Press ESC to open the pause menu and choose Open to LAN.

3

Set your options

Choose the game mode and enable cheats if needed. Then click Start LAN World.

4

Wait for the chat message

Minecraft will print a message like Local game hosted on port XXXXX in chat. That means the local server is running.

Minecraft opened on a local port
Minecraft opened on a local port
Keep the game open

Do not close Minecraft. The server only exists while your world is open. If you leave the world, the server stops.

Connect with PortPlay (LAN world)

1

Let PortPlay detect the server

PortPlay should automatically detect the running Minecraft server and offer to create a connection for it.

Minecraft port detected
Minecraft port detected
2

Create the connection

Click Create and connect. On the free plan the location is assigned automatically. Paid plans let you choose a preferred location.

3

Copy the server address

After the tunnel is created, PortPlay will show an external IP:port address such as 123.234.231.222:12345. Copy it.

Address used to connect to the server
Address used to connect to the server
4

Send the address to friends

Share this address with your friends. They can join through Multiplayer → Direct Connection or add the server manually inside Minecraft.

Done

Your friends can now join your Minecraft world and play together with you.

Method 2: Dedicated server

For a more permanent setup, use a dedicated server.jar instead of a world hosted from inside the game.

1

Download server.jar

Download the official Minecraft server jar for the version you want and create a separate folder for it.

2

Run the server once

Start it with the command below. On the first launch it will generate configuration files and then stop.

First server launch
java -Xms2G -Xmx4G -jar server.jar nogui
3

Accept the EULA

Open eula.txt and change eula=false to eula=true.

4

Start the server again

Run the same command one more time. The server will now fully start and generate the world.

server.properties tips

In server.properties, you can configure the server port, game mode, difficulty, whitelist, and more. The default Minecraft port is 25565. If you use a non-premium setup, you may need to change online-mode to false.

Connect with PortPlay (dedicated server)

1

Let PortPlay detect the server

Once the server is running, PortPlay should find it automatically and display it in the list of available servers.

2

Publish the Minecraft server

Click the button to connect the Minecraft server. PortPlay will create a tunnel and assign an external address.

3

Test the connection

Try joining the server from your own computer using the external address. If it works, send the same address to your friends.

Server is live

You now have a Minecraft server that can stay available independently from your game session. Friends can join even when you are not in a local world.

Stop sharing the server

To stop publishing the server, click Disconnect in the PortPlay app. The Minecraft server can keep running locally, but outside access will be removed.

Helpful tips

Test locally first

Before publishing through PortPlay, make sure the server starts and works on your local machine. That helps separate server issues from networking issues.

  • Allocate enough RAM: For modded gameplay, 4 GB or more is usually a safer starting point.
  • Make backups: Regularly copy the world folder so you do not lose progress.
  • Use a whitelist: Enable the whitelist in server.properties for a private server.
  • Choose a better route if needed: If latency matters, test different PortPlay locations when your plan allows it.

FAQ

How to play Minecraft with friends without Hamachi or Ngrok?

PortPlay is the best free alternative to Ngrok for game servers and a modern replacement for Hamachi. Unlike Hamachi, your friends don't need to install any VPN software—they just enter the IP address PortPlay gives you.

Minecraft server connection timed out no port forward fix?

If your friends get a "connection timed out" error, it means your router or ISP is blocking incoming connections (often due to CGNAT). PortPlay creates an outbound tunnel that bypasses this restriction completely without any router access.

Can I use PortPlay as a playit.gg alternative on Windows?

Yes! PortPlay is a fast, easy-to-use playit.gg alternative for Windows. It provides lower latency routes in many regions and features a simple, native UI.

Can I play with mods?

Yes. Install the same mods on the server and on all client computers. PortPlay works independently of the game version or modpack.