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!
- Search your computer for “cmd” and open a Command Prompt.
- Find the hostname of the server. In this example we will use: play.strongcraft.org
- In your console, type: nslookup <hostname here>
- Press Enter
- Copy the Address displayed under the “Non-authoritative answer” section
This address that we’ve copied is the actual IP of the server! We can now enter this IP directly into Minecraft to 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.
- Open up another Command Prompt.
- Type: ping <server IP address here>
- 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.
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