I went to multiplayer and pressed "New Server" I entered the name I want it to be and the address. I pressed done but it said "hostname not available"
"New Server" doesn't create a server; it just lets you add one to the list of servers you connect to regularly.
To create a server, you have to run the server executable, "Minecraft_Server.exe" or "minecraft_server.jar". Detailed instructions can be found on the minecraft wiki if you need more help getting set up or run into performance issues. If you are running the server on the same machine as the client, you can connect to "localhost" as the server address, or your own IP address.
- Open to LAN
- It will give you a 5-digit port number
- Find your
ipconfigin Command prompt (search CMD in search bar)
- If your IP address is 123.456.7.8, and LAN is 89072, then you will combine them to make something like:
- Use direct connect and connect to the game
The following worked for me:
localIP address. You can view that here: https://www.whatismyip.com/ Your local IP address is different from your external IP address, which is what people commonly refer to when they say your IP address. Your local IP address is used inside a private network to locate devices inside it, where your external IP address is an addressed assigned by your Internet Service Provider when you connect to the Internet.
Start single player and click "Open to LAN" from the pause menu. It will print a port number, say
51831. If your local IP address is
172.16.42.182then join the two with a
172.16.42.182:51831. Share this address with your friend, and ask them to connect using "Direct Connection" from the multiplayer start menu.