Where to find your server address depends on how you're playing
Your server address is the text string you type into Minecraft to connect to a multiplayer world. Where you find it depends on whether you're joining a friend's world, a public server, or running your own. If you're playing on someone else's server, they'll give you the address directly — it looks like "play.example.com" or an IP address like "192.168.1.5". If you're hosting a server yourself, you need to know where to look for it in your hosting control panel or your local network settings.
The process is different for Java Edition and Bedrock Edition, and it matters whether your server is local (on your home network) or hosted online. This guide covers how to find and verify your server address in each situation.
Key Takeaways
- A server address is either a domain name like "play.example.com" or an IP address, and the person who invited you should provide it directly.
- In Java Edition, you enter the address in the "Direct Connection" field on the multiplayer screen; in Bedrock Edition, it goes in the "Server Address" field under "Add Server".
- If you're hosting a server yourself, check your hosting provider's control panel for the IP address, or use a local IP finder tool if it's on your home network.
- You can verify a server is working by pinging its address from your computer's command line before trying to connect in Minecraft.
- If the address doesn't work, ask the server owner to confirm it's correct, check that your firewall isn't blocking the connection, and verify the server is currently running.
Finding the server address in Java Edition
Open Minecraft Java Edition and click "Multiplayer" from the main menu. Click "Direct Connection" at the bottom of the server list. Paste or type the server address into the text field. The address should be exactly as the server owner gave it to you — spaces or typos will prevent connection.
If you're adding a server you plan to use repeatedly, click "Add Server" instead of "Direct Connection". Give it a name you'll recognize, paste the address into the "Server Address" field, and click "Done". The server will now appear in your list each time you open Multiplayer.
Finding the server address in Bedrock Edition
Open Minecraft Bedrock Edition and select "Play" from the home screen. Tap "Servers" in the left menu. Scroll to the bottom and tap "Add Server". Enter a server name, then paste the server address into the "Server Address" field. Leave the port number as-is unless the server owner told you to change it — most servers use the default port 19132.
Bedrock Edition also shows "Realms" servers, which are official Minecraft-hosted worlds. Those have their own address system and don't require you to enter an IP or domain manually.
Getting the address if you're hosting the server yourself
If you're running a server on a hosting provider like Aternos, Nitrado, or Shockbyte, log into your hosting control panel. The server address is usually displayed on the main dashboard or in a "Server Details" section. It will be labeled as "Server IP" or "Server Address". Copy this exactly as shown — it's the address other players use to connect to your world.
If you're hosting a server on your own computer for local play (just people on your home network), you need your computer's local IP address. On Windows, open Command Prompt and type ipconfig. Look for "IPv4 Address" under your active network connection — it usually starts with 192.168 or 10.0. On Mac or Linux, open Terminal and type ifconfig and look for "inet" under your network adapter. Other players on your network enter this local IP to connect.
Checking if a server address is working
Before launching Minecraft, you can test whether a server is reachable. On Windows, open Command Prompt and type ping [server address], replacing [server address] with the actual address. On Mac or Linux, open Terminal and type the same command. If the server is online and reachable, you'll see response times listed. If you see "Request timed out" or "Destination host unreachable", the server is offline or the address is wrong.
This test doesn't may provide Minecraft will connect — the server could be running but full, or your firewall could be blocking it — but it tells you whether the address itself is valid and the server is powered on.
Troubleshooting when the address doesn't work
If you enter the address correctly but can't connect, first confirm with the server owner that the address is current. Server addresses can change if the hosting provider reassigns IPs or if the owner switches providers. Ask them to send you the address again and verify it character-by-character.
Check your firewall and antivirus software. Windows Defender and third-party antivirus programs sometimes block Minecraft's connection attempts. Look in your firewall settings for Minecraft or javaw.exe (Java Edition) and make sure it's allowed to access the network. If you're on a school or workplace network, the network administrator may be blocking game connections entirely.
Confirm the server is actually running. If it's a friend's world, ask them to check that Minecraft is open and the world is loaded. If it's a hosted server, log into the hosting control panel and verify the server status shows "Running" or "Online". Some hosting providers pause servers after inactivity, so the owner may need to restart it.
Understanding port numbers and why they matter
A complete server address sometimes includes a port number, written like "play.example.com:25565" (Java Edition) or "play.example.com:19132" (Bedrock Edition). The number after the colon tells your computer which "door" on the server to use. Most servers use the default port, so you don't need to type it — Minecraft adds it automatically.
If the server owner gives you an address with a non-standard port, enter it exactly as they provided it. If they give you just the domain or IP without a port number, use it as-is and let Minecraft use the default. Entering the wrong port is one of the most common reasons a valid address won't connect.
Frequently Asked Questions
What's the difference between an IP address and a domain name?
An IP address is a string of numbers like "192.168.1.100" that identifies a computer on the internet. A domain name is a text address like "play.example.com" that points to the same computer. Both work in Minecraft — domain names are just easier to remember. The server owner will tell you which one to use.
Can I use a server address from someone else's Minecraft server list?
You can try, but it won't work unless the server owner has made it public. Most private servers restrict who can join. If you want to play on a specific server, ask the owner for the address directly or look for a public server list on the server's website or Discord community.
Why does my server address work on my computer but not for my friend?
If you're using a local IP address (starting with 192.168 or 10.0), it only works for people on your home network. Your friend needs the public IP address instead, which you can find by searching "what is my IP" in a web browser. If you're using a hosting provider, the address should work for everyone — ask the provider to confirm it's publicly accessible.
Do I need to open ports on my router to host a server?
Yes, if you're hosting on your own computer. You need to forward the Minecraft port (25565 for Java, 19132 for Bedrock) from your router to your computer's local IP. This is a router setting, not something Minecraft controls. If you're using a hosting provider, they handle port forwarding for you — you just use the address they give you.
What if the server address keeps changing?
If you're hosting on your home network, your public IP can change when your internet provider reassigns it. Use a dynamic DNS service like No-IP or DynDNS to create a permanent domain name that automatically updates when your IP changes. If you're using a hosting provider and the address keeps changing, contact their support — it usually means there's a configuration issue.