What a server address is and why you need it
A server address in Minecraft is the location your game uses to connect to another player's world. It looks like a web address — either a domain name (like "play.example.com") or an IP address (like "192.168.1.5"). Without it, your game has no way to know where to send your connection.
If you're joining a server someone else runs, they give you the address. If you're hosting your own server on your home network, you need to find your computer's address so others can join you. The method changes depending on whether the server is on your local network (your home WiFi) or hosted somewhere on the internet.
Key Takeaways
- A server address is either a domain name or an IP address that tells your game where to connect.
- For servers on your home network, you need your computer's local IP address, which you can find in your network settings or by typing a command in Minecraft itself.
- For servers hosted online, the owner gives you the address — you don't need to find it yourself.
- Windows and Mac computers store their local IP address in different places, but both are accessible without special software.
- If you're running a server and others can't connect, the address they're using may be correct but your router may be blocking the connection.
Finding your local IP address on Windows
If you're hosting a Minecraft server on your Windows computer and want others on your home network to join, you need your computer's local IP address. Open the Start menu, type "cmd" into the search box, and press Enter to open Command Prompt. Type ipconfig and press Enter. Look for the line that says "IPv4 Address" — this is your local IP address, usually starting with 192.168 or 10.0.
Write down the full number. This is what you give to other players so they can connect to your server. If you see multiple IPv4 addresses listed (because your computer has multiple network connections), use the one under "Ethernet" if you're plugged in with a cable, or under "Wireless LAN" if you're using WiFi.
Finding your local IP address on Mac
On a Mac, click the Apple menu in the top-left corner and select "System Settings" (or "System Preferences" on older versions). Click "Network" in the sidebar. Select the network connection you're using — either "Wi-Fi" or "Ethernet" — and your local IP address appears on the right side of the window, labeled "IP Address".
Like Windows, this address usually starts with 192.168 or 10.0. This is the address you share with other players who want to join your server on your home network.
Getting the server address from inside Minecraft
If you're already running a Minecraft server and want to know its address without opening system settings, you can find it in the game itself. Open Minecraft and start or load your world. Press Escape to open the pause menu, then look for a button labeled "Open to LAN" (on Java Edition) or check the world settings (on Bedrock Edition). When you open to LAN, Minecraft displays the port number your server is using.
The full address other players use is your local IP address (found using the steps above) plus a colon and the port number. For example: 192.168.1.5:25565. If Minecraft doesn't show a port number, the default is 25565, so you can usually just give them your IP address alone.
Understanding domain names versus IP addresses
Some servers use a domain name instead of an IP address — for example, "server.example.com" instead of "192.168.1.5". Domain names are easier to remember and share. If you want to use a domain name for your home network server, you need to set up a dynamic DNS service, which maps a domain name to your home IP address and updates it automatically if your address changes.
For servers hosted online (not on your home network), the hosting company provides the domain name or IP address. You don't need to find it yourself — the server owner tells you what to type into Minecraft's "Server Address" field.
What to do if others can't connect to your server
If you've given someone your local IP address and port number but they still can't connect, the problem is usually not the address itself. First, confirm they're typing it correctly — spaces, colons, and numbers all matter. Ask them to try again, watching for typos.
If the address is correct, your router may be blocking the connection. Minecraft servers use specific ports (usually 25565 for Java Edition). You may need to forward the port on your router — a setting that tells your router to let incoming connections reach your computer. This varies by router model, so search for "[your router brand] port forwarding" plus "Minecraft" to find the exact steps. If you're not comfortable changing router settings, the simplest fix is to have everyone join through your home network (the same WiFi) instead of from outside.
Frequently Asked Questions
What's the difference between a local IP address and a public IP address?
A local IP address (like 192.168.1.5) only works on your home network. A public IP address is what your internet provider assigns to your home as a whole, and it's what people outside your network use to reach you. For home servers, you usually give people your local IP if they're on your WiFi, or your public IP if they're joining from elsewhere.
Does my server address change?
Your local IP address can change if you restart your computer or router, though it usually stays the same for long periods. If you want it to stay constant, you can set a static IP in your network settings. Your public IP address changes less often but can shift if your internet goes down or your provider updates it.
Can I find someone else's server address if they don't tell me?
No — you need the server owner to give you the address. There's no way to discover it on your own. If someone won't share their server address, they don't want you to join.
Is it safe to share my server address?
Sharing your local IP address with people on your home network is safe — it only works on your WiFi. Sharing your public IP address is riskier because it identifies your home to the internet. Only share it with people you trust, and consider using a domain name and dynamic DNS instead, which is more find.
What if I'm trying to join a server and I don't know the address?
Ask the server owner or the person who invited you. They should provide it in a message, on a website, or in a Discord server. If you can't reach them, you can't join that server.