Minecraft – Can’t Resolve Hostname Error Fix

It’s very popular for modern Minecraft servers to use a “hostname” instead of a traditional IP address. A hostname acts similar to a domain name, but one that is used to connect to the server. Typically servers will add the “play” subdomain to achieve this.

The “can’t resolve hostname” error in Minecraft means that the game is unable to find the hostname that you are entering.

Fixing “Can’t Resolve Hostname”

There are a number of different reasons this error can occur. Some are more simple than others. It can range from mistyping the name, to issues with a firewall or router settings.

Firstly, make sure that you are typing the correct name! Any extra characters or symbols or spaces will prompt this error. It must be exact.

If this doesn’t work, the next step is to try connecting to the actual IP address of the server. Many times servers that use hostnames will not display their IP address as well. We can find it though!

  1. Search your computer for “cmd” and open a Command Prompt.
  2. Find the hostname of the server. In this example we will use: play.strongcraft.org
  3. In your console, type: nslookup <hostname here>
  4. Press Enter
  5. Copy the Address displayed under the “Non-authoritative answer” section

Minecraft Can’t Resolve Hostname

This address that we’ve copied is the actual IP of the server! We can now enter this IP directly into Minecraft to connect.

Minecraft-Direct-Connect

Still not working?

If entering the direct IP address does not work, there may be an error with the server. There is a quick way we can test our connection to the server without using Minecraft.

  1. Open up another Command Prompt.
  2. Type: ping <server IP address here>
  3. Press Enter

This will display your connection to the server. If you receive “Request timed out.” at any point during this process, it means that you are not able to establish a connection to the server. For the most part, this means it is offline.

Minecraft Server Ping

If the pinging process completed without this error, it usually means there is an underlying issue with a firewall. This can be occurring from your side, or on the end of the server. It is best to contact the server administrators if you cannot connect at this point

Quick Find