UFO24
Promocode copied

Get a 50% discount for the first month!

How to make a LAN server in Minecraft?

Last modified on 15 December 2023 in Minecraft
  • 4 min read
  • 1779
  • 1
Vladyslav Kryshtafovych

Vladyslav Kryshtafovych

Game Specialist

Playing over a local area network

LAN is a type of connection in multiplayer games that allows other players, who are already connected to your router or ethernet, to join your Minecraft world. Players can also connect to a local Minecraft server over the Internet using additional programs such as Hamachi or Radmin VPN.

Hosting a local server on Java Edition

In order to open your world to other players on your local network, you need to:

  • Pause the game (Esc).
  • Click the "Open to LAN" button.
  • If you wnat, you can change the default game mode or enable the use of cheats in the menu that appears once you open your world.
  • Click the "Start LAN world" button.

You can also publish your world on a local network using the command line by writing "/publish". If you start the local server this way, you will not be able to change the game mode or enable cheats. [before JE 1.19.3]

After these actions, a confirmation message will be sent to the chat, such as "Local game is running on port 56668". This port is needed for other players who want to join your world.

important

Every time you open the world to LAN, the port will change!

When your world is open to the local network, the Minecraft client sends a UDP multicast every 1.5 seconds to the local address 224.0.2.60:4445, which is monitored by other clients to display your game in their server list.

Connecting to a local server

If you and the host player are on the same local network, the local server should appear in the multiplayer menu under the server list.

If the game world does not appear in the server list, you can still join the server manually. To do so, try adding the server to your list using the local IP address of the server owner's computer and the server's port (the port is displayed in the chat when the host opens their world on the local network).

To find out the local IP on Windows 10, you need to open the command prompt (click "Start", type "cmd" and press "Enter").

In the command prompt, enter the "ipconfig" command and in the window that opens, find the line "IPv4".

The local IP usually looks like 192.168.0.0 or similar, the first 2 digits are 192.168

To add a server to your multiplayer list, you need to click "By Address" or "Add Server" in the "Multiplayer" menu and enter the IP and port in the format "192.168.0.0:56668" in the "Server Address" field.

Programs such as Radmin VPN or Hamachi can also be used to play on a local network over the Internet. These programs simulate a LAN connection between people all over the Internet, allowing them to connect each other despite their location.

attention

Other players in a shared LAN network created with the help of programs will see your IP address and status in the network as long as the program is running!

Playing on a local network in Bedrock Edition

LAN gameplay in Bedrock Edition is enabled by default. You can find this option to turn it off or on in the world settings, but you cannot change the LAN settings once you are already in the world. You can also change the default game mode in the world settings. Use the command (cheats must be allowed) "/setmaxplayers up to [count]" to change the maximum number of players.

Now you know how to connect to other players via LAN and thanks to our Godlike service, you can create your server, in which you do not need to download any LAN emulators or be on the same network as the host to connect to the same server. Creating your own Minecraft server on Godlike will take you minutes, as the server is installed instantly and the interface is intuitive.

Rent Minecraft servers

Premium Minecraft Server Hosting

Test 3 days

Rate the article on a 5-point scale

5 out of 5 based on 1 ratings
Find mistake? Select it and press Ctrl + Enter to let us know.
Demo
Game
Panel

Enjoy

50% off

First month!

UFO24
Promocode copied
×

Report a bug

Error text

Your choice

Stripe Climate Member