How do I find the port of a Minecraft server?

Who this is for: Minecraft server owners and players trying to connect to or troubleshoot server connections.


Ready to jump in? Play minecraft games and start your next adventure today!

Play free games on Playgama.com

Check Your Server Configuration Files

The easiest way to find your Minecraft server port is by checking the server.properties file. Navigate to your server folder and open this file with any text editor. Look for the line that says “server-port=” followed by a number. The default port is 25565, but many server owners change this for security or hosting reasons.

If you’re running the server yourself, you’ll find this file in the same directory as your server.jar file. The port number appears right after the equals sign, like “server-port=25566” or whatever custom port you’ve set.

Use Command Prompt or Terminal

For Windows users, open Command Prompt and type “netstat -an | findstr :25565” to see if the default port is active. Replace 25565 with other common Minecraft ports like 25566, 25567, or 19132 for Bedrock Edition. On Mac or Linux, use “netstat -an | grep :25565” instead.

This method shows you which ports are currently listening for connections. If you see your IP address followed by a colon and port number in the results, that’s your active Minecraft server port.

Check Your Router’s Port Forwarding Settings

Log into your router’s admin panel (usually by typing 192.168.1.1 or 192.168.0.1 in your browser). Look for “Port Forwarding” or “Virtual Server” settings. Any Minecraft-related entries will show both the internal and external ports you’ve configured.

The external port is what players use to connect from outside your network. Sometimes this differs from your internal server port, so both numbers matter depending on who’s trying to connect.

Ask Your Hosting Provider

If you’re using a hosting service like Apex, Shockbyte, or others, check your control panel dashboard. Most providers display the server address and port prominently on the main page. You can also find this information in welcome emails or support tickets.

Some hosts use non-standard ports or proxy systems, so the port might not be 25565. Always use the exact address and port your provider gives you.

Test Different Common Ports

Minecraft servers often run on these ports: 25565 (default), 25566, 25567, 25568, or 19132 for Bedrock Edition. Try connecting with each one using the format “yourip:port” in the Minecraft client.

If none of these work, the server might be using a completely custom port. In that case, you’ll need to check with whoever set up the server or look through any documentation they provided.

Once you’ve found your port, you can start building amazing worlds and exploring all the creative possibilities that Minecraft offers.

TL;DR

Check your server.properties file for the “server-port=” line, use netstat commands to see active ports, or look in your hosting provider’s control panel.

Author avatar

Joyst1ck

Gaming Writer & HTML5 Developer

Answering gaming questions—from Roblox and Minecraft to the latest indie hits. I write developer‑focused HTML5 articles and share practical tips on game design, monetisation, and scripting.

  • #GamingFAQ
  • #GameDev
  • #HTML5
  • #GameDesign
All posts by Joyst1ck →

Leave a Reply

Your email address will not be published. Required fields are marked *

Games categories