Server setup · Server owners

Hosting and Port Forwarding

Last updated · Written by MCLookout

minecraft server port forwarding — MCLookout guide

Minecraft server port forwarding is the step that turns a world that works on your PC into a server friends — and later, public players — can actually join. Whether you host at home, on a VPS, or with a Minecraft panel, the idea is the same: the Java port, and any extra ports you use, must accept connections from the internet. This guide compares those hosting options, walks through a typical home forward, and lists the ports you will need for Paper, Geyser, and NuVotifier.

Home host, VPS, or managed Minecraft host

Home hosting is cheap and fine for a small SMP with people you know. You already paid for the hardware. The costs are a stable desktop or tiny server, a public IP, an ISP that does not block inbound ports, and your willingness to deal with power cuts, dynamic IPs, and residential DDoS. Upload bandwidth is usually the bottleneck, not download.

A general VPS (a modest Linux box in a nearby region) gives you a static IP, better upstream, and fewer ISP surprises. You install Java, Paper, a firewall, and backups yourself. It is the right middle ground if you are comfortable with SSH and you want extra ports without asking a panel for permission.

A managed Minecraft host sells a panel, one-click jars, automatic backups, and a support queue. That is worth it if you do not want to maintain Java and systemd. Read the fine print for additional ports. Many cheap plans only expose the game port, which is a problem the moment you need UDP 19132 for Bedrock or TCP 8192 for votes.

Pick a region close to your players. A beautiful datacenter 200 ms away will feel worse than a smaller box nearby. Split your attention between RAM, CPU (single-thread speed still matters for the main tick), storage (NVMe), and DDoS protection you actually understand.

Whatever you choose, plan backups before you advertise the address: daily world copies off the machine, not only a folder named backup on the same disk.

Ports you need to open

Purpose Default port Protocol
Java Edition game and ping 25565 TCP
Bedrock / Geyser listener 19132 UDP
NuVotifier 8192 TCP

Only open what you use. Do not forward RCON, panel ports, or SSH to the world if you can help it; lock those to a VPN or a tight allow list. If your host assigns different numbers, those assigned numbers are the ones that go in server.properties, Geyser’s bedrock.port, NuVotifier’s port, and your MCLookout listing.

How to set up port forwarding at home

The exact clicks vary by router, but the sequence does not:

  1. Give the machine that runs Minecraft a reserved local IP (DHCP reservation), so the forward does not point at the wrong device after a reboot.
  2. Log into the router and find Port Forwarding, Virtual Server, or NAT.
  3. Add a rule: external port 25565, internal port 25565, TCP, destination = the reserved IP. Repeat for 19132/UDP and 8192/TCP if you need them.
  4. Allow those ports on the computer’s firewall as well (ufw, Windows Defender Firewall, or whatever you run).
  5. Find your public IPv4 address and try to join from a network that is not your Wi-Fi — a phone on cellular is ideal. Some routers cannot hairpin, so a local join from inside the house does not prove the forward works.
  6. If your public IP changes, use a hostname and a dynamic DNS provider so the listing and your players are not stuck on a stale address.

If the router has no “port forwarding” because you are behind CGNAT (a shared public IP, common on some mobile and cable ISPs), inbound forwards will never work reliably. Signs include a WAN address in a carrier-grade range or a failed forward with no other explanation. In that case, use a VPS, a host, or a tunnel you understand the security tradeoffs of — do not disable the firewall to “see if that helps.”

UPnP can open ports automatically, but a manual rule is easier to audit and less surprising.

Firewalls on a VPS

On a typical Linux VPS you will allow 25565/tcp, maybe 19132/udp and 8192/tcp, plus whatever you use for SSH from your own IP. Cloud providers often have a second firewall (security groups) in the control panel; opening ufw is not enough if the security group still drops the packet. After a change, confirm with an external port check and with a live ping on MCLookout.

Bind Minecraft and NuVotifier to 0.0.0.0 unless the host documents a specific bind address. Binding to 127.0.0.1 makes the server look healthy on the machine and invisible to the rest of the internet.

DNS and non-standard ports

A hostname such as play.example.com should point an A (and AAAA, if you have IPv6 you actually listen on) record at the server. Java clients can use an SRV record (_minecraft._tcp) to hide a non-standard port, but you should still test the ping against the host and port MCLookout will use. Bedrock players usually have to type the port if it is not 19132, so advertise it in the MOTD and the listing.

IPv6-only setups still surprise some clients and some listing pings. If you can offer IPv4, do that as the address you publish.

Frequently asked questions

Why can I join from home but my friends cannot?

The server is listening on a local address, but the public port is not forwarded, the ISP is using CGNAT, or the computer firewall is only allowing LAN traffic. Test from a phone on cellular and compare the port you forwarded with server-port in server.properties.

Do I have to use port 25565?

No, but it is the port Java clients assume. If you change it, players must type host:port, and you must open that new port instead. Extra services (Geyser, NuVotifier) should stay on their own ports.

Will a Minecraft host open a Votifier or Bedrock port for me?

Some will, often as an “additional port” in the panel. If they will not, you cannot receive votes or Bedrock joins on that plan, no matter how carefully you edit config files. Ask before you pay.

Is hosting from my PC safe?

It exposes the game port of that PC to the internet. Keep Java and the server jar updated, do not forward RCON, run the process as a normal user, and use protection plugins before you post a public listing.

Related guides