All tools

Firewall and port checklist

Which ports a server actually needs open, and which should stay shut.

Why this matters

A Minecraft server needs very few ports open to the internet, and several that are often left open should not be. Every open port is something that can be attacked. The table above lists the ports that come up on a typical server, what each is for, and whether it should be reachable from outside.

The ones to open

  • 25565 TCP is the Java game port. If you use a different port, add an SRV record so players do not have to type it. The DNS record generator makes it.
  • 19132 UDP is for Bedrock players through Geyser. It must be UDP. A TCP rule on this port does nothing.
  • 24454 UDP is only needed if you run the Simple Voice Chat mod.

The ones to keep shut

  • RCON (25575) gives full console access with a single password. Use your host's panel console instead.
  • Backend servers behind a proxy. This is the most important rule on the list. Backends run with online-mode=false and trust the proxy to vouch for each player. Anyone who can reach a backend directly and has the forwarding secret can log in as any player, staff included. Firewall backends so only the proxy can reach them.
  • Databases (3306, 5432) should only accept connections from the server itself.

The ones to open carefully

  • Web maps such as Dynmap or BlueMap (8123) are fine to share, but they show anyone your world's layout, bases included.
  • SSH (22) should use keys, not passwords, and ideally only accept your own IP.

Testing from outside

A port that works from the machine itself can still be blocked from the internet by a router or a provider firewall. Always test from a different network. The server status checker connects from our network, which counts as outside.

If your server is hosted on PulsedMC, none of this needs doing. Each server gets its own port and the firewall is set up for you. This page is for people running their own machine.

Free to use, no account needed. Everything happens in your own browser. Nothing you type is sent anywhere.

Filed under Networking.

Other networking tools

All Minecraft server tools · Guides for running a server

All 25 tools

Every tool runs in your browser and is free to use, whether you host with us or not. Most work offline once the page has loaded. The few that check something live, like a server's status or a player's skin, say so on their page.