Guide – How To Start – Minecraft Java Game Server on Red Hat 7

Settings and connection to Minecraft Java Game Server on Red Hat 7

  1. For connecting to the server, you should know the IP address of the VM. You can find it in your Azure personal account. (Select the virtual machine from the list, then click “Overview” to view your IP address under “Public IP Address”).
  1. To ensure the proper functioning of the VM, you need to open TCP and UDP ports 25565 and 25575 in the Azure Firewall.
  1. To start the server, you just need to start the VM through Azure Portal.
  1. Run your client to play the Minecraft Java Edition.
  1. Click “Multiplayer” in the main menu.
  1. Click “Add Server”.
  1. In the window, name the server as you like in the “Server Name” field. In the “Server Address” field, enter the IP address of the VM, and then click “Done.”
  1. From the server list, select the previously added server and click “Join Server.”

By using the server, you agree to the EULA: Eula | Minecraft

Get your own Minecraft universe!

Manage server settings (optional)

  1. To manage your server, you need to connect to the VM.
    • With OpenSSH

In the Windows 10 operating system (starting with version 1809), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a standard Windows command prompt and enter the command “ssh user@*vm_ip*” (1), where “user” is the username that was specified while creating the virtual machine and “*vm_ip*” is the VM IP address.

Then type “Yes” (2) and enter a password (3) that was specified while creating the virtual machine.

  • With the PuTTy application 

To do this you need the PuTTy application to connect via ssh. You can download it at the following link – Download

Run Putty, enter the VM address in the “Host” field (1), and click “Open” (2) to connect.

In the opened console, you will need to enter a username (1) and password (2) that were specified while the VM was being created (you’ll not see the password in the console while entering it). 

  1. To manage the server, you can use the commands described in the ‘Basic Usage’ tab by following the link – Deploy Minecraft: Java Edition Game Servers
  1. In order to enter these commands, you must enter into the VM console:

$sudo su 

$su steamuser

  1. Then go to the directory using: cd /home/steamuser.
  1. Now you can enter special commands to control the server. For example, to check the server’s status, use: $./mcserver dt
  1. Also, you can change your config using the command 

$sudo nano /home/steamuser/serverfiles/server.properties

Now you can enjoy playing on your Minecraft server. Have fun!

Website Built with WordPress.com.

Up ↑