When you set up a new Minecraft server, choosing the right IP address is essential for smooth multiplayer access. The IP tells players how to connect, and a misconfigured address can block entry entirely.
This guide breaks down public versus local IPs, port forwarding, and how to secure a reliable address for your server.
| IP Type | Example | Use Case | Visibility |
|---|---|---|---|
| Public IPv4 | 77.88.55.66 | Internet-facing server | Visible to anyone online |
| Local (Private) IP | 192.168.1.10 | Home lab testing | Only inside your network |
| Dynamic IP | Changes periodically | Casual hosting without static plan | Harder to track long term |
| Static IP | Dedicated address from ISP or provider | Professional hosting | Consistent and reliable |
Finding Your Public IP for Minecraft
Check Your External Address
Your public IP is what friends type into the multiplayer join screen. Visit a trusted site or run a command from your server machine to display this address clearly.
Consider IPv6 Support
If your network and router support IPv6, you can use an IPv6 address for connections. Make sure the Minecraft client and server both have dual-stack or IPv6-specific launcher settings enabled.
Avoid Direct Device Exposure
Exposing your personal computer directly to the internet can be risky. Use a dedicated server machine or a virtual private server for better security and uptime.
Port Forwarding and Router Settings
Map the Minecraft Port
Minecraft typically uses port 25565 for Java Edition and different settings for Bedrock. Forward this port on your router to the local IP of your server device.
Test Internal Connectivity
Before opening ports to the internet, verify that other devices on your local network can reach the server using the local IP and port.
Handle ISP Restrictions
Some internet plans block server ports. Contact your provider or choose a hosting location that allows residential hosting if you see connection refusals.
Static and Dynamic Address Options
When to Use a Static Public IP
A static IP prevents connection issues caused by address changes. It is ideal for communities that expect regular players and want zero-downtime hosting.
Dynamic DNS as a Free Alternative
If a static address is costly, use Dynamic DNS to map a changing public IP to a hostname. This keeps join links stable without paying for a dedicated IP.
Private Cloud and VPS Hosting
Cloud providers give you a stable external IP and firewall controls. These services simplify management and often include backup and scaling options.
Securing and Maintaining Reliable Access
- Use a firewall to limit traffic to only the Minecraft port.
- Keep server software and plugins updated for security patches.
- Back up world data regularly to protect against corruption.
- Monitor player activity and ban disruptive users promptly.
- Consider a paid hosting plan for better reliability and support.
FAQ
Reader questions
What IP should I enter in the Minecraft launcher to join my friend’s server?
Enter the public IP address or domain name that your friend shares with you, along with the correct port if it is not 25565.
Can I use my local IP address like 192.168.1.x for my server over the internet?
No, local IP addresses only work inside your private network. For internet access, you need a public IP or a relay service.
Why does my server IP keep changing after I restart my router?
This happens when your ISP assigns a dynamic IP. Set up port forwarding and consider Dynamic DNS or a paid static IP to keep the address stable.
Is it safe to share my server IP address with strangers?
Sharing an IP is generally safe, but harden security with strong passwords, whitelisting, and a firewall. Monitor logs for abuse.