What You’ll Need

The Minecraft server software. A desktop computer or a high-end laptop. A wired Ethernet connection. A web host.

How to Host a Minecraft Server

Depending on your computer’s capabilities, you may or may not be able to host a server and play Minecraft on the same device. It’s recommended to use a remote hosting service for your server. The official Minecraft Forum has a list of free and premium hosting services. Some, like Server.pro, allow you to make a Minecraft server for free, but most web hosting companies charge a monthly fee.

Setting Up Port Forwarding

If you just plan to play with friends on a local network, you can disregard this section; however, for the rest of the world to access your server, you must enable port forwarding on your router. Since every router is different, consult your router’s manual for more specific guidance on setting up port forwarding. Nonetheless, you can follow the same steps regardless of which OS you are using.

How to Create a Minecraft Server for Windows

The screenshots and instructions below refer to Windows 10. Other versions of Windows have different interfaces, but the steps for setting up the server are the same:

How to Set Up a Minecraft Server for Mac

To run a Minecraft server on a Mac, you must have macOS 10.8 or later. To upgrade your OS, visit Apple Support. java -Xmx3G -Xms1G -jar server.jar

How to Set Up a Minecraft Server on Linux

It’s possible to make a Minecraft server with any Linux distribution. The steps below are for building a Minecraft server for Ubuntu 16.04. Set up is done entirely through the command terminal. #!/bin/bash cd “$(dirname “$0”)” exec java -Xms1G -Xmx1G -jar {server file name} nogui Just replace {server file name} with the name of the server file.

How to Connect to Your Minecraft Server

If you’re hosting your own Minecraft server, the server window must remain open for others to access it. ssh username@ipaddress Replace “ipaddress” with your host’s IP address and username with your username. You may be asked to enter your password for your hosting service. Follow the prompts to complete the process. sudo apt-get update sudo apt-get install default-jdk If prompted, enter Y when asked to authorize installation. sudo apt-get install screen mkdir minecraft cd minecraft sudo apt-get install wget wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar echo “eula=true” > eula.txt screen -S “Minecraft server 1” java -Xmx512M -Xms512M -jar minecraft_server.jar nogui