Knowing your IP address is essential when setting up a Minecraft server or troubleshooting connection issues. This guide walks you through simple, device-agnostic steps to locate the address you need.
Whether you are hosting locally or joining a friend’s server, the right IP information keeps your Minecraft sessions stable and accessible.
| Type | Private IP | Public IP | Purpose in Minecraft |
|---|---|---|---|
| IPv4 | 192.168.1.10 | 85.214.132.117 | Local network gaming, port forwarding, direct connection |
| IPv6 | fe80::a00:27ff:fe8b:b5a2 | 2a02:1a28:1200:1100::1234 | Future-proof addressing, broader connectivity |
| Localhost | 127.0.0.1 | N/A | Testing server on the same machine |
| Server Facing | N/A | Elastic or dynamic public address | Hosting a visible Minecraft server online |
Finding Your Local IP on Windows
Using Command Prompt
The Command Prompt provides a direct way to see your private IPv4 address without third-party tools. This method is reliable and works on most Windows versions.
Via Control Panel
For users who prefer graphical interfaces, the Control Panel Network settings display detailed adapter information, including your current IP configuration.
Finding Your Local IP on macOS and Linux
Terminal with System Tools
macOS and Linux systems use the Terminal, where commands like ifconfig or ip addr reveal your local address in just a few keystrokes.
Network Settings GUI
Both operating systems offer graphical network preferences that list your IP alongside DNS and connection status for quick reference.
Finding Your Public IP for External Access
Web Services and Routers
Your public IP is the address the internet sees, and it is critical when friends outside your local network try to join your Minecraft server.
Port Forwarding Considerations
To make your Minecraft server reachable, you often need to forward ports on your router to the local IP you identified earlier, using the public IP from outside.
Testing Server Connectivity
Localhost Checks
Before opening your world to others, test locally with 127.0.0.1 to confirm the server software is running smoothly on your machine.
External Device Testing
Use a mobile data connection or a friend’s network to verify that players can connect using your public IP and forwarded ports without issues.
Securing and Sharing Your Minecraft Connection
- Use a static local IP to prevent port forwarding breakage after router reboots.
- Configure firewall rules for the exact Minecraft port range used by your server.
- Back up your router settings before making major port changes.
- Periodically review connected devices to detect unauthorized access.
FAQ
Reader questions
Why does my public IP look different from my router’s admin address?
The public IP is assigned by your ISP and is visible to the internet, while the router admin address is a private gateway used for device configuration inside your network.
Can I use a domain name instead of typing my IP in Minecraft?
Yes, with a dynamic DNS service you can map a domain to your changing public IP, letting friends connect with a hostname instead of a numeric address.
What should I do if port forwarding does not make my server visible?
Double-check that your local IP is static, confirm TCP and UDP ports are forwarded correctly, and ensure your firewall allows Minecraft traffic through.
Is revealing my public IP a security risk for my network?
Sharing your public IP is necessary for multiplayer connections, but keep your router firmware updated and use strong passwords to minimize exposure.