Guide – How To Start – Minecraft Java Game Server on Ubuntu 20.04 LTS

In Minecraft, players explore a blocky, procedurally-generated 3D world with infinite terrain, and may discover and extract raw materials, craft tools, and items, and build structures or earthworks. 

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

How to start and connect to Minecraft Java Game Server on Ubuntu 20.04 LTS

  1. To start the server, you just need to start the VM through Azure Portal.
  2. For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).
  3. Run your client to play the Minecraft Java Edition.
  4. Click “Multiplayer” on the main menu.
  5. Click “Add Server”.
  1. In the appeared window, in the “Server Name” field name the server as you like.
  2. In the “Server Address” field enter the IP address of the VM and click “Done”.
  1. In the server list, select the previously added server and click “Join Server”.

Server management settings

  1. Download and run Putty, then in the  “Host Name” field, enter the address of the VM. Then click “Open” to connect.
  1. In the opened console you will need to enter the login and password specified while creating the VM.
  2. To manage the server, you can use the commands that are described in the basic usage tab on the page – https://linuxgsm.com/lgsm/mcbserver/
  3. In order to enter these commands, you must enter sudo su into the VM console.
  4. Then enter su steamuser and change the directory cd /home/steamuser.
  5. Now you can enter special commands to control the server. By entering e.g. ./mcserver details, you can find out the state of the server.
  1. To work with the Azure Firewall the ports TCP 25565,25575 – UDP 25565 must be opened.

WordPress.com.

Up ↑

%d bloggers like this: