How to create a public minecraft server

As of February 2017, Minecraft was the second-most popular video game in the world, with over 121 million copies sold.

Launching your own private Minecraft server is an additional option if you’re interested in getting the full Minecraft experience. You are free to design your own Minecraft world when using a private server.

We’re going to demonstrate how to do that in this article. On this page, we’ll examine how to create a Minecraft server using a Windows computer, a Mac, and a Linux hosting package. Please be aware that the prices in this article are accurate as of publication. Parents, if you’re looking for family-friendly projects, consider making your own family website using

Have players joining your server follow the steps below:
  1. In Minecraft, click “Multiplayer.”
  2. Click “Add Server.”
  3. Enter a server name.
  4. Enter the server address. This will be your external IP followed by the port number: 25565 This will look like the address in the image on the right. …
  5. Click Done.

A simple 10-step guide to create a world for you and your friends — in less than 10 minutes!

Photo by Egnez on

Today, I’ll demonstrate the quickest way possible to create a free public vanilla Minecraft server for you and your friends. Without further ado, let’s begin!.

Create a new folder in the directory of your choice; this is where all of the server files will be downloaded and run from.

You can download the official Minecraft Server .jar file here. Save it to the server folder you just created.

You must use a script to run the server in order to host it. jar file. Copy the next command into a new text file that has just been opened:

The minecraft_server. 1. 16. 4. The version of Minecraft that is currently running on servers is called jar. Simply replace this with the name of the newly released version if there is one. jar file that you previously downloaded.

The server’s memory is allocated using the -Xmx and -Xms flags. You can increase these values (in multiples of 1024) if you wish.

If you are on Windows, save this file as run. bat. If you are on Linux, save this file as run. sh. Make sure you change the extention from . txt so that the file can be properly executed.

Simply double-click the newly created run if you’re using Windows. bat.

You must first make the file executable if you use Linux. First, type the command chmod +x run. sh. This enables the script you just created to be executable. Then, you can run the script with . /run. sh.

You will see a warning about accepting the EULA agreement after running the script. When you close this window and return to the server folder, you will notice a number of newly generated files. Open the file eula. Save and close the file after changing the line eula=false to eula=true in the text file.

You can run the script to restart the server now that the EULA has been accepted (run bat or run. sh). More freshly created files ought to be visible in the server folder. You can check to see if your server is operational after the configuration has been set up and the world has been generated.

Open Minecraft and click on multiplayer. In the server address bar, enter localhost and click connect.

Congratulations, you now have your very own Minecraft server! However, in order to play with friends, you must allow incoming connections to the server.

To port forward in the following step, you must know your internal (private) IP address, and you also need your external (public) IP in order for others to connect to your server.

First, to find your internal IP:

CMD can be entered into the search bar to launch the command prompt. You can view a list of Ethernet adapters and Wi-Fi cards by entering the command ipconfig.

Ctrl Alt T will open a terminal if you are using Linux. When you enter the command “ifconfig,” a list of Ethernet and Wi-Fi cards will appear.

Depending on whether you are using Ethernet or WiFi to access the internet, look for the IPv4 Address, which begins with 192 Your private IP address is listed under your internet connection type (starting with 168).

To find your external IP:

You can simply type “my IP” in Google and it will provide your public IP address. Alternatively, you can go to https://whatismyipaddress.com/ and it will also tell you your public IP address.

Opening a specific port on your local network so that incoming traffic can connect to a service is a process known as port forwarding. In this instance, we’ll start up Minecraft on port 25565 by default.

You must have administrator access to your local network in order to port forward. Many home routers can be accessed by typing 192. 168. 1. 1 in a web browser. Look for the “port forwarding” settings after entering your admin credentials. The “advanced settings,” “advanced setup,” or “networking” tab is typically where you’ll find this.

Port forwarding, for instance, can be found under “Advanced” on a NetGear router.

Here, you will want to click on “Add Custom Service”. Give the service name anything recognizable, like “Minecraft Server”. Under the service type, make sure TCP/UDP is selected. Enter “25565,” the default Minecraft port, for the internal and external port ranges. Finally, for the interal IP address, enter the private IP that you found in step #7. Click apply, and then your changes will be saved.

Open the server. Open the properties file in your preferred text editor, then scroll down to the server-port and server-ip sections. Verify that the server-port setting is set to the port you just opened for port forwarding and that the server-ip setting is your internal (private) IP address.

These two fields should look like:

(192.168.1.88 will be whatever your private IP is.)

Additionally, this file allows you to alter other Minecraft settings, including difficulty, game mode, PvP, etc. Once you’ve finished editing, save and exit this document.

Once the settings are in place and the port is open for communication, restart the server by either clicking the run bat file (Windows) or running the command . /run. sh (Linux). Once the server is finished loading, you can test to see if your server works via your public IP address that you found in step #7. Now that you and your friends have entered this public IP address into your respective Minecraft clients, you can play on the server!

Every time I make a new world in Minecraft, which has played a significant role in my gaming history, I am overcome with nostalgia. I created this manual to make it easier for everyone to have the same experience. There are countless ways to set up a Minecraft server, but I wanted to write a guide that would show you how to do it quickly and easily. Whether you’ve created your own Minecraft server a hundred times or for the first time, I hope this guide was easy to follow and I wish you luck.

Thank you for reading along — Your new world awaits!

Your home for data science. A Medium publication sharing concepts, ideas and codes.

Get the Medium app

Cybersecurity Engineer by day, gamer by night. In my spare time, I enjoy playing poker a little too much, writing code, studying body language, and playing chess.

How To Make A Minecraft Server For Free (Guide) | Create A Minecraft Server [2023]

FAQ

How do I make my Minecraft server public?

You can make a Minecraft server accessible to anyone so they can connect and play by using port forwarding. How to Port Forward Minecraft?Set the Port on Minecraft Configuration. Allow the Port on Your Firewall. Forward the Port on the Router. Restart the Minecraft Server and Connect.

Are public Minecraft servers free?

A large multiplayer community for Minecraft constantly creates new servers so that players can congregate and play together. There are a few well-known Minecraft servers that are completely free to join, besides locked and private ones. Here are the top 5 free Minecraft servers available.

Can I create a Minecraft server for free?

If you’d like to make a free Minecraft server, Mojang has provided free server software that you can use to build your own private server for the Java version of the game. You can download this from the Minecraft website, but the setup and server-running instructions could use more explanation.

How to create your own Minecraft server?

How to set up a Minecraft serverStep 1: Install/Update Minecraft. Step 2: Install/Update Java. Step 3: Download Server . Step 4: Create a Minecraft Server Folder. Step 5: First-Time Startup. Step 6: Restart the Server. Step 7: Create an Automatic Script.

Leave a Comment