What a server address is and why you need one

A server address is the text string other players type into Minecraft to join your world. It looks like play.example.com or an IP address like 192.168.1.5:25565. Without one, players have no way to find and connect to your server — they need something to type into the "Direct Connection" field in the Minecraft multiplayer menu.

The address you give depends on whether you are running a server on your own computer, renting space from a hosting company, or using a service like Realms. Each path creates a different kind of address that works in a different way.

Key Takeaways

  • A server address is either an IP address (numbers and dots) or a domain name (words and dots) that players type to join your world.
  • If you run a server from home, your address is your public IP address plus the port number, found by searching "what is my IP" in a browser.
  • Port forwarding on your router is required for players outside your home network to reach a home-based server.
  • A domain name (like myserver.com) is optional and costs money, but makes the address easier to remember and share.
  • Minecraft Realms generates an address automatically and handles all the technical setup, but costs a monthly subscription.

Finding your public IP address for a home server

If you are running a Minecraft server from your own computer, your server address starts with your public IP address — the address your internet provider assigns to your home network. This is different from your local IP address (the one your router gives devices inside your home). You need the public one because players outside your home need to reach you through the internet.

To find your public IP address, open a web browser and search for "what is my IP" or go to a site like whatismyipaddress.com. You will see a string of four numbers separated by dots, like 203.45.67.89. Write this down — this is the first part of your server address.

Your full server address will be that IP address plus a colon and a port number. The default Minecraft port is 25565, so your address would look like 203.45.67.89:25565. If you changed the port in your server settings, use that number instead of 25565.

Setting up port forwarding so players can connect

Your router sits between your home network and the internet. By default, it blocks incoming connections to protect your devices. To let players reach your Minecraft server, you need to tell your router to forward traffic on port 25565 to the computer running the server. This is called port forwarding.

The steps vary by router brand. Log into your router's admin panel — usually by typing 192.168.1.1 or 192.168.0.1 into a browser address bar. Look for a section called "Port Forwarding", "Virtual Server", or "Port Mapping". You will need to enter your server computer's local IP address (the one your router gave it, not your public IP) and the port number 25565.

If you are unsure about your router model, check the sticker on the back or bottom of the device. Search "[your router brand] port forwarding Minecraft" for step-by-step instructions specific to your hardware. Port forwarding is safe — you are only opening one port for one purpose, not exposing your whole network.

Using a domain name instead of an IP address

IP addresses are hard to remember and share. A domain name like myserver.minecraft.net is much easier. Players type the domain name instead of the IP address, and the domain points to your server automatically.

To use a domain name, you need to buy one from a domain registrar like Namecheap, GoDaddy, or Google Domains. Domain names cost between $10 and $15 per year. Once you own the domain, you point it to your server's IP address by editing DNS records — specifically, you create an A record that maps your domain name to your public IP address.

The registrar's website will have a DNS editor where you can add or change records. You enter your domain name, select "A record" as the type, and paste your public IP address into the value field. Changes can take a few hours to spread across the internet, so do not be alarmed if the domain does not work immediately. Once it does, players can type your domain name directly without the port number — the server will use port 25565 by default.

Using Minecraft Realms for an automatic server address

Minecraft Realms is a subscription service run by Microsoft that creates a server address for you automatically. You do not have to set up port forwarding, buy a domain, or manage a server on your own computer. Realms costs about $8 per month and works on Java Edition and Bedrock Edition.

When you create a Realm, Minecraft assigns it a unique address that you can share with up to 10 players (or more on Bedrock). Players see the Realm in their multiplayer menu and click to join — no typing an address required. Realms handles all the technical work: your world stays online even when you are not playing, backups happen automatically, and you never have to touch port forwarding or DNS records.

The trade-off is cost and less control. You cannot install custom plugins or mods on a Realm, and you are paying a monthly fee. For casual play with friends, Realms is the simplest option. For a larger or more customized server, a home server or a rented hosting provider is more flexible.

Renting a server from a hosting provider

If you do not want to run a server from home but want more control than Realms offers, you can rent a server from a hosting company. Providers like Aternos, Nitrado, GameServers, and Apex Hosting run Minecraft servers on their own hardware and give you a server address to share.

When you rent a server, the hosting company assigns you an address — usually an IP address and port, or sometimes a subdomain like myserver.nitrado.net. You do not have to set up port forwarding or worry about your home internet being interrupted. The server stays online 24/7 as long as you keep paying.

Hosting costs vary widely, from free (with limits on players and uptime) to $10 or more per month for a full-featured server. Many hosting providers let you install plugins and mods, which home servers and Realms do not. If you want a permanent, always-on server without managing hardware, this is a good middle ground.

Troubleshooting when players cannot connect

If you have given players your server address but they cannot connect, start by checking the obvious: make sure your server software is actually running on your computer, and make sure the address you gave them is correct (including the port number if you are using a non-standard port).

If the server is running and the address is right, the problem is usually port forwarding. Ask a player to try connecting, and if they get a "connection timed out" error, your router is probably blocking the connection. Go back into your router's port forwarding settings and verify that you entered your server computer's local IP address correctly — if that computer's IP address changed (which can happen), the port forward will point to the wrong device.

If you are using a domain name and players say it does not work but the IP address does, the domain's DNS record may not have updated yet. DNS changes can take up to 24 hours to spread worldwide. Wait a few hours and try again. If it still does not work after a day, log into your domain registrar and double-check that the A record points to your correct public IP address.

Frequently Asked Questions

Can I use the same server address if my internet provider gives me a new IP address?

If you use an IP address directly, a new public IP will break the connection. This is why a domain name is useful — you update the DNS record to point to your new IP, and the address stays the same. If you do not have a domain, ask your internet provider whether you have a static IP (one that does not change) or a dynamic IP. Static IPs cost extra but solve this problem.

Do I need to open any ports other than 25565?

Port 25565 is the standard Minecraft port and is all you need for Java Edition. Bedrock Edition uses port 19132. If you changed your server's port in the server.properties file, forward that port instead. Do not open multiple ports unless you are running multiple servers.

Is it safe to give out my IP address?

Your public IP address is already visible to every website you visit — it is not secret. Giving it to players so they can join your server is safe. Port forwarding limits access to only port 25565, so players cannot reach anything else on your network. Your router's firewall still protects everything else.

What happens if I stop paying for my domain name?

The domain stops working and players cannot reach your server using it. If you still want to run the server, you can give them your IP address instead. If you want to keep the domain, you have to renew it before it expires — most registrars send reminder emails when renewal is due.

Can I change my server address after players have joined?

Yes. If you switch from an IP address to a domain name, or move to a different hosting provider, you just give players the new address. They will need to update it in their multiplayer menu, but their worlds and progress stay the same as long as you are using the same server files.