23

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"

26

"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.

31

If you want to create a LAN server to play with your buddies connected on the same network, create a single player world, then from the pause screen, select 'Open to LAN', as pictured below.

enter image description here

  • 4
    You probably won't need the info from open port whatever. Now your friend on the same network should be able to see your server when he clicks multiplayer. – Studoku Oct 7 '13 at 21:36
  • 5
    Just to clarify, this isn't the way to create an internet server, it's for a LAN server on your home network. If you're looking for an internet server, refer to Yamikuronue's answer. – Bryan Oct 7 '13 at 21:50
5

Five steps:

  1. Open to LAN
  2. It will give you a 5-digit port number
  3. Find your IPv4 Address using ipconfig in Command prompt (search CMD in search bar)
  4. combine to make something like 123.456.7.8:89072
  5. use direct connect and connect to the game
  • 1
    Step 4 is key, no one else typed the entire address out like you did. Step 2 should say "port number", which is the technical networking term and the reason for using the colon. – Noumenon Jul 18 '16 at 4:31
3

Go to your game menu and press "Open to LAN". Next, it will show your IP address. Write down the IP address, and go back to the title screen and click on multiplayer. Then, click on "Add server", name the server and then type in the IP address.

2

The following worked for me:

  • Locate your local IP 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.182 then join the two with a :: 172.16.42.182:51831. Share this address with your friend, and ask them to connect use "Direct Connection" from the multiplayer start menu.

protected by Community Apr 9 '14 at 14:39

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.