You Just Built a Minecraft World, Now What?
You’ve spent hours crafting the perfect Minecraft server, a digital home for you and your friends. The castle is built, the farms are automated, and the adventure map is ready. You hit the “Open to LAN” button or finish configuring your dedicated server software, feeling a surge of accomplishment. Then, the inevitable question pops up in your group chat: “What’s the IP? I can’t find the server.”
Suddenly, that triumphant feeling turns to frustration. You know the server is running, but the address is a mystery. This moment is a universal rite of passage for Minecraft players. Whether you’re on a home network, using a hosting service, or just trying to join a friend’s temporary game, finding that string of numbers and dots can feel like searching for a hidden stronghold without a map.
This guide cuts through the confusion. We’ll walk through every method to locate your Minecraft server address, tailored to your specific setup. By the end, you’ll not only know how to find it but also understand what it means and how to share it securely.
What Exactly Is a Minecraft Server Address?
Before we start digging, let’s clarify what we’re looking for. A server address in Minecraft is typically an IP (Internet Protocol) address. Think of it as your server’s digital street address on the vast internet or your local home network.
There are two primary types you’ll encounter:
– Your Local IP Address: This is the address assigned to your computer or device on your home Wi-Fi or Ethernet network. It usually looks like 192.168.1.105 or 10.0.0.15. This address is only usable by other devices connected to the same local network.
– Your Public IP Address: This is the address assigned to your home router by your Internet Service Provider (ISP). It’s your front door to the wider internet. It might look like 73.145.85.212. Friends outside your home need this address to connect.
Sometimes, especially with paid server hosts, the address might be a custom domain name, like play.ourserver.com. This is just a friendly label that points to a public IP address behind the scenes.
Why the Address Seems to Disappear
If you’ve ever clicked “Open to LAN” and been given an address that doesn’t work, you’re not alone. The game often shows a local address that other devices on your network can use, but it might not be the one you need. The complexity arises because Minecraft itself doesn’t manage your network’s routing. It simply broadcasts its presence on the local network and reports the address it knows.
Your router, firewall settings, and whether you’re using a VPN all play a role in whether an address is reachable. Understanding which address to use for which situation is the first step to solving the connection puzzle.
Finding Your Address for a Local Area Network (LAN) Game
This is the simplest scenario. You’re playing a single-player world and want friends in the same house or on the same Wi-Fi to join you.
First, pause your game and press ESC. Click “Open to LAN,” choose a game mode (Survival, Creative, etc.), and optionally allow cheats. Click “Start LAN World.” A message will appear in chat saying “Local game hosted on port XXXX.”
Now, on the computer hosting the game, you need to find its local IP address. The method varies by your operating system.
On Windows 10 or 11
Click the Start menu, type “cmd” and open the Command Prompt. In the black window, type the command `ipconfig` and press Enter. Look for the section labeled “Wireless LAN adapter Wi-Fi” (if you’re on Wi-Fi) or “Ethernet adapter” (if you’re wired). Find the line that says “IPv4 Address.” The number next to it, such as 192.168.1.150, is your local IP address.
Give this address to your friends on the same network. They should open Minecraft, click “Multiplayer,” then “Direct Connect.” They enter the address in this format: `192.168.1.150:XXXXX`. Replace the IP with yours and the port (the numbers after the colon) with the port number from the in-game chat message.
On macOS
Open System Settings (or System Preferences on older versions). Go to Network. Select your active connection (Wi-Fi or Ethernet) on the left. Your local IP address will be displayed on the right. Alternatively, open the Terminal app and type the command `ifconfig | grep “inet “`. Look for an address in the 192.168.x.x or 10.0.x.x range that isn’t 127.0.0.1.
On Linux
Open a terminal window. The command is typically `hostname -I` or `ip addr show`. You’re looking for the same pattern of local network addresses.
Finding Your Public Address for Friends Anywhere
If you want friends from other homes, schools, or cities to join, they need your public IP address. This is the address of your router, not your specific computer.
The easiest way to find it is to use a website. On the computer that is hosting the Minecraft server (or that your router will forward traffic to), open a web browser. Go to a site like `whatismyipaddress.com` or simply search Google for “what is my ip.” The site will prominently display your public IP address at the top of the page.
This address is what you give to distant friends. They would enter it into the “Server Address” field when adding a new server in the multiplayer menu. If you are using the default Minecraft port (25565), they only need the IP, like `73.145.85.212`. If you changed the port, they must add it with a colon: `73.145.85.212:25566`.
The Critical Step: Port Forwarding
Finding your public IP is only half the battle. By default, your home router has a firewall that blocks incoming connections for security. You must tell it to allow traffic for Minecraft through to your specific computer. This is called port forwarding.
The process is different for every router model, but the general steps are universal. You will need to access your router’s admin panel, usually by typing its gateway address (like 192.168.1.1 or 10.0.0.1) into a browser and logging in.
Once inside, look for a section named “Port Forwarding,” “Virtual Servers,” or “Applications & Gaming.” Here, you will create a new rule.
– Service Name: Enter “Minecraft” or any descriptive name.
– Internal IP Address: Enter the local IP address of the computer running the server (the one you found earlier with ipconfig).
– Internal/External Port: Set both to 25565 (Minecraft’s default). If you changed it in your server.properties file, use that number instead.
– Protocol: Select “TCP” or “Both” (TCP/UDP). Minecraft primarily uses TCP.
Save the rule and restart your router if prompted. After this, connections to your public IP on port 25565 will be directed to your Minecraft server computer.
Using a Dedicated Server Jar or Hosting Service
If you’ve downloaded the official `minecraft_server.jar` file or are using a service like Apex, Shockbyte, or BisectHosting, the process is different.
For a self-hosted jar file, the server address is still your public IP (and port, if not default). However, you have more control. You can check the `server.properties` file in your server folder. The line `server-ip=` is usually left blank, which means the server binds to all available addresses. The port is defined by the `server-port=` line, defaulting to 25565.
If you use a paid hosting service, they provide the server address directly in your control panel. It is almost never your personal IP. It will be a custom IP or domain name assigned to your server slot, such as `mc.shockbyte.com:25565` or a dedicated IP like `45.76.125.18`. This is the address you and your players use. The hosting company handles all the port forwarding and network security on their end.
When You See “Can’t Resolve Hostname”
This common error means Minecraft cannot translate the address you entered into a real server location. First, double-check for typos. If using a domain from a host, try using the numeric IP address they provided instead, as domain propagation can sometimes be slow. Ensure you haven’t accidentally added `http://` or `www.` to the front—Minecraft server addresses should be plain.
Advanced Tools and Troubleshooting
Sometimes, even with the right address and port forwarding, connections fail. Here’s how to diagnose the issue.
First, verify the server is actually running and accessible locally. On the host machine, open Minecraft and try to connect to `localhost` or `127.0.0.1` in the Direct Connect field. If this works, your server software is running correctly.
Next, have a friend on the same local network try to connect using your local IP address and port. If this works but the public address fails, the problem is almost certainly with your router’s port forwarding configuration or your ISP’s restrictions. Revisit your port forwarding rules.
Use a free online port checking tool like `portchecker.co`. Enter your public IP and the Minecraft port (25565). It will tell you if the port is “Open” or “Closed.” If it’s closed, your port forwarding is not set up correctly, or a software firewall (like Windows Defender Firewall) is blocking the connection.
Dealing with a Dynamic IP
Most home ISPs assign dynamic public IP addresses, which can change every few days or when your router reboots. This means the address you give out today might not work tomorrow.
To solve this, you can use a Dynamic DNS (DDNS) service like No-IP or DuckDNS. These services give you a free domain name (e.g., `yourserver.ddns.net`). You install a small program on your server computer or configure your router to update the DDNS service whenever your public IP changes. You then give out the domain name (`yourserver.ddns.net`) instead of your numeric IP. It will always point to your current address.
Your Quick-Reference Checklist for Success
To eliminate guesswork, follow this action list based on your goal.
For a quick LAN game with people in your house:
– Open your world to LAN in Minecraft.
– Find your computer’s local IP via Command Prompt (ipconfig) or System Settings.
– Give friends the address in the format `[LocalIP]:[LANPort]`.
For a permanent server for friends anywhere:
– Set up a dedicated server jar or use a hosting service.
– If self-hosting, find your public IP via a website.
– Log into your router and set up port forwarding to your computer’s local IP on port 25565.
– Consider setting up Dynamic DNS if your public IP changes.
– Give friends your public IP (or DDNS domain) and port.
For joining a server someone else hosts:
– Get the exact address and port from the server admin.
– In Minecraft Multiplayer, click “Add Server” or “Direct Connect.”
– Enter the address exactly as provided.
– If it fails, ask the admin to verify the server is online and the port is open.
From Confusion to Confident Hosting
Finding your Minecraft server address transforms from a technical obstacle into a simple, repeatable process once you understand the landscape. The key is identifying your scenario: a spontaneous LAN party, a self-hosted world for online friends, or a managed server from a professional host. Each has a clear path to the correct address.
Start with the simplest test. Can you connect to `localhost`? If yes, your server runs. Can a local friend connect to your local IP? If yes, your local network is fine. The final hurdle, port forwarding, is a one-time setup in your router that unlocks global access to your creations.
Armed with this knowledge, you can shift your focus back to what matters—mining, building, and adventuring together. Your server address is just the welcome mat. Now you know exactly where to place it.