How do I find the IPv4 address of a Minecraft server (e.g us.mineplex.com
, mc.hypixel.net
)?
I need to do this because I am testing something for my own server.
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.
Sign up to join this communityHow do I find the IPv4 address of a Minecraft server (e.g us.mineplex.com
, mc.hypixel.net
)?
I need to do this because I am testing something for my own server.
Simple! Just open up a command line/terminal window (doesn't matter what operating system) and type:
ping <your server address here>
That should work!
ping
will output a bunch of stuff, including the IP of your server (it'll look like (your server address here) [(the IP)]
).
Another alternative is to use nslookup
which queries the name directly from DNS:
C:\> nslookup google.com
Server: UnKnown
Address: 2601:647:4a03:6e2b:9610:3eff:fe0e:6c13
Non-authoritative answer:
Name: google.com
Addresses: 2607:f8b0:4005:801::200e
216.58.194.174
This shows the IPV6 address followed by the IPV4.
ping
. For obvious reasons ...
ping
than nslookup
, and thus would be more likely to remember it next time they need it (rather than having to look it up again). So if they both do the job, it's useful that they're both presented. Ultimately though, I agree... nslookup
is the canonical tool for the job.
First, go to the search bar beside your home button (bottom left hand corner) on your computer. Then type cmd
.
After you open the command prompt type ping mc.hypixel.net/serverip
.
use
ping -c 3 "server-address"
on unix and unix-like systems(ctrl+t on most systems, and search for it in spotlight on a mac). and
ping -n 3 "server-address"
on windows in the command line(press windows key+r and type cmd, then type the command, ping -n 3 server-address
)