Minecraft is one of the unique games which lets you create a personal server for multi-player gaming. You can host a Minecraft server on Windows, Linux, and macOS, but it doesn’t support Android devices which is a bummer. Having a portable server like an Android device would have surely made playing Minecraft a lot more fun. So in search of a solution, we discovered an interesting way which lets you host a Minecraft server on an Android device. The process is a bit lengthy and technical, but if you want to do it, you can definitely do it. So without further ado, let’s go ahead and learn how to host a Minecraft server on Android.

Let me put it straight, the process is a bit complex and you will need some degree of technical knowledge in dealing with command terminal. From my side, I have tried to simplify the process as much as possible. Anyway, to give you a brief overview, we are going to install Ubuntu on top of Android. And from there, we can install a Minecraft server seamlessly. Now having said that, let’s begin with the first setup.

Install Ubuntu on Your Android Device

  1. First of all, install AnLinux (Free) and Termux apps (Free) from the Google Play Store.
  • Install Java Development Kit on Ubuntu
  1. Now that we have installed Ubuntu, let’s install some packages required to run Minecraft server. First off, we will install the JDK package on Ubuntu. Copy the following command and run it on Termux. Now, wait for the installation to complete.

Install Java Development Kit on Ubuntu

Install Minecraft Server on Android

With the installation of Ubuntu and JDK, we have almost set up the base required to run a personal server. Now, we will finally install a Minecraft server on Android. Here are the steps to follow.

  1. Open the Minecraft Server page from this link on your Android device. Here, tap and hold on “minecraft-server.jar” and copy the download link.

chmod +x minecraft_server.jar

  • Run Minecraft Server on Android
  1. You have successfully installed a Minecraft server on Android. Now, we will try to run the server. Copy the following command and run it on Termux. Do note, it will fail on the first run due to non-compliance of the EULA agreement. Worry not, move to the next step to fix it.

Run Minecraft Server on Android

  1. On the Nano text editor, change “eula=false” to “eula=true”. Editing text file on Nano editor is tricky though. You can’t navigate using the touchscreen. So, press the “down” key thrice to bring the cursor below the last text. After that, press backspace to move to the above line and then keep pressing backspace to delete false. Now, you can type true.

  2. After you have changed the EULA text, tap “CTRL” and then tap the “x” key. It will ask for modifying the file, press “y” and it will save the changes. Finally, tap the “Enter” key and you will be back to Termux.

Tunnel Your Local Minecraft Server to the Internet

So far, we have installed a Minecraft server on our Android device, but we need to bring the server online through a secure tunneling tool called Ngrok. It creates a secure public URL of your server which you can share with your friends for multi-player Minecraft gaming. Here is how to do it.

  1. Open the Ngrok download page and tap and hold on “Linux (ARM64)”. Now, copy the download link.

apt-get install zip unzip

unzip ngrok.zip

  1. After you have done that, open the Sign Up page of Ngrok and create an account. Now log in and it will offer you an authentication token under “Connect Your Account” section. Copy the authtoken key.

  2. After that, run the below command and Ngrok status window will open. If it shows session status as “online”, you have successfully created your personal Minecraft server on Android. Your Minecraft server is live on the internet.

  3. Now, copy the “Forwarding” address which starts with tcp. It’s the public URL that you can share with your friends for Minecraft multi-player gaming. It should look something like this.

Play Multi-Player Minecraft with Your Friends

Open Minecraft and log in to your account. Go to Multi-player menu and open “Direct Connect”. Here, paste the Forwarding address copied from Step 7 in the above section and press the “Join Server” button. Voila, you are connected to your personal Minecraft server hosted on an Android device. Enjoy!

SEE ALSO: 15 Best Sandbox Games like Minecraft You Should Play

So that was our long guide on how to create a Minecraft server on Android smartphones. As we can see, the steps are quite technical and you have to set up a lot of things before you can create an online server. Nevertheless, I have tried to make the process as simple as possible with collaborative steps and screenshots. Anyway, that is all from our side. If you were able to create a Minecraft server on your Android device, do share your forward address. We would love to play Minecraft with you.