Finding the exact numbers needed to connect to a private multiplayer world can feel unnecessarily confusing, especially when dealing with local networks, external routers, and port forwarding rules. Whether you're trying to host a game for friends from your own home hardware or connect to a dedicated rental service, understanding how to locate and use your Minecraft server IP address eliminates guesswork and lets you get straight into the game.
When you play multiplayer, the game needs a numerical address—or a mapped domain name—to route connection packets from your computer to the machine hosting the world. If you're hosting locally on Windows, this involves finding your local IPv4 address via the command prompt. If you're playing with friends across the internet, it involves finding your public IP address and configuring your router to forward port 25565. Let's break down every step required to find, verify, and use these addresses effectively without running into common connection failures.
Understanding the Difference Between Local and Public Addresses
Before opening any configuration menus, you need to understand why you might see two completely different sets of numbers. Mixing them up is the number one reason connection attempts fail.
Your local IP address identifies your computer on your home network. It usually starts with numbers like 192.168 or 10.0. If you are hosting an internal server on the exact same machine you're using to play the game, you can connect using the word "localhost" or the loopback address 127.0.0.1. If you are playing from another computer sitting in the same house connected to the same Wi-Fi router, you use the host machine's local IPv4 address.
Your public IP address is what the wider internet sees. Your Internet Service Provider assigns this to your household router. If your friends want to join your self-hosted world from their own homes miles away, they cannot use your local 192.168 address because that private range doesn't exist outside your house. They must use your public IP address.
How to Find Your Local IP Address on Windows
If you are setting up a game server on a Windows PC and need to give the address to someone else on your home network—or if you need to set up port forwarding—you must first find your machine's local IPv4 address.
- Press the Windows key on your keyboard, type
cmd, and press Enter to open the Command Prompt. - Type
ipconfiginto the black terminal window and hit Enter. - Look through the text for your active connection adapter, usually labeled as Ethernet adapter or Wireless LAN adapter Wi-Fi.
- Locate the line labeled IPv4 Address. It will look something like
192.168.1.15. - Note down this number.
If your network setup changes or your router reboots, this local number can change unless you set up a static IP address in your router settings. Keeping it static prevents you from having to check ipconfig every single time you boot up your PC to play.
How to Find Your Public IP Address
To let external players connect to a self-hosted world, they need your public internet address. Because your home router handles outward-facing traffic, you can't find this number inside Windows settings alone.
Open a web browser and navigate to a neutral IP-checking utility, or simply search for "what is my IP" on a search engine like Google. The site will display your public IPv4 address, which consists of four blocks of numbers separated by periods.
Keep in mind that most residential internet providers use dynamic IP addresses, meaning your public number changes every few days or whenever your router restarts. If you don't want to text your friends a new set of numbers every week, look into setting up a Dynamic DNS (DDNS) service through providers like No-IP or Cloudflare, which maps your changing IP to a permanent web address like myminecraftworld.ddns.net.
Connecting via Server Hosting Providers
If you aren't hosting the game on your own physical hardware, you're likely renting space from a commercial host like Minecraft. Paid game server hosts simplify this entire process significantly.
When you rent a hosted instance, the provider automatically assigns you a dedicated IP address and port combination, such as play.myhostingservice.com:25575 or a direct numerical string. You don't need to worry about home routers, command prompts, or port forwarding rules. You simply copy the provided address directly from your hosting control panel, open up Minecraft, click Multiplayer, select Direct Connection, and paste the string into the box.
Configuring Port Forwarding for Self-Hosted Worlds
If you are hosting a server from your own computer and want external friends to join, finding your public IP address is only half the battle. By default, home routers block incoming traffic on port 25565—the standard port Minecraft uses—for security reasons. You have to manually open that port.
- Find your router's gateway IP address by typing
ipconfigin the Command Prompt and looking for Default Gateway. - Type that gateway address into your web browser's URL bar to access your router's admin login page.
- Log in using the admin credentials printed on a sticker on the physical router or found in your manual.
- Locate the section named Port Forwarding, Virtual Server, or Applications.
- Create a new rule. Set the service name to Minecraft, input port
25565for both internal and external fields, and enter the local IPv4 address you found earlier viaipconfig. - Save the settings and reboot your router if required.
Once this rule is active, external players can type your public IP address followed by the port—formatted as your.public.ip:25565—into their multiplayer menu to connect.
Troubleshooting Connection Failures
Even with the correct numbers, connections frequently drop or time out due to software blocks. Working through a systematic checklist saves hours of frustration.
Firewall Blocks
Windows Defender or third-party antivirus software often blocks incoming Java connections by default. You must ensure that Java(TM) Platform SE Binary is allowed through your Windows Defender Firewall settings for both public and private networks. If it's blocked, external packets hit your PC and get dropped immediately.
Incorrect Port Syntax
When typing addresses into the client, remember that Minecraft defaults to port 25565. If your server runs on the standard port, you only need to type the numbers. If your host assigns a custom port, you must include the colon and the port number at the end, like 192.168.1.50:25577. Leaving off the colon results in an immediate connection refused error.
Server Software Status
Before assuming your network configuration is broken, check the terminal window running your server software (like Vanilla, Paper, or Forge). If the console doesn't show loading completion text or indicates that binding to the port failed, the server application itself isn't running correctly on the host machine.
Frequently Asked Questions
Can I use a domain name instead of numbers?
Yes. You can purchase a custom domain name or use a free dynamic DNS provider to mask your raw public IP address. Point an A record from your domain registrar directly to your public IP address, and players can type that clean text domain into Minecraft instead of numbers.
Why do I get an "Outdated Server" error?
This error means your client game version doesn't match the software version running on the host machine. If you updated your Minecraft launcher to a new patch, but the server hasn't updated its jar file, you won't be allowed to join until both match.
Is it safe to share my public IP address with friends?
Sharing your public IP address with trusted friends poses minimal risk, but you should never broadcast it publicly on open forums or social media streams. Malicious actors can use raw IP addresses to launch localized Distributed Denial of Service (DDoS) attacks against your home internet connection.
Why can't I connect to my own server using my public IP?
Most consumer routers do not support NAT loopback, meaning they cannot route traffic that originates from inside the home network, goes out to the public internet, and loops back inward. Always use localhost or your local IPv4 address when playing on the exact same machine hosting the world.