8

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.

14

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!

  • 3
    No problem! Just what I do! – Surprisejedi Jun 20 '16 at 0:14
  • 1
    It might be worth adding that ping will output a bunch of stuff, including the IP of your server (it'll look like (your server address here) [(the IP)]). – Nic Hartley Jun 20 '16 at 2:43
44

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.

  • 4
    This should be the accepted answer, not the one using ping. For obvious reasons ... – Num Lock Jun 20 '16 at 5:33
  • 4
    @NumLock I doubt it's obvious for a significant portion of the userbase here. Feel free to elaborate. – Mast Jun 20 '16 at 9:16
  • 6
    @Mast seeing the IP from using ping is a side-effect of the command, whereas using getting the IP from nslookup is the intended purpose of the command. – Callum Jun 20 '16 at 10:51
  • 5
    @Spork Just to play devil's advocate on that point, more people are likely to have used/heard of 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. – glibdud Jun 20 '16 at 12:37
  • Maybe more people know how to dig, so they will remember dig more easily than ping and nslookup. Dig is also shorter. – v7d8dpo4 Jun 20 '16 at 14:32
0

First, go to the search bar beside your home button (bottom left hand corner) on your computer. Then type cmd.

enter image description here

After you open the command prompt type ping mc.hypixel.net/serverip.

0

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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy