How To Make A Minecraft Server Public

How To Make A Minecraft Server Public


In just 10 minutes, you can create a world for yourself and your friends with this simple guide.

Today, I will be showing you the easiest way to set up a public vanilla Minecraft server for you and your friends, without spending a single dollar. Without further ado, let's begin!

#1-Create a folder server

You can create a folder in any directory that you choose. This will contain all the server files that you download and run from.

#2-Download JAR file

You can download the official Minecraft Server .jar file here. It can be saved to the server folder that you just created.

#3-Create the Run Script

To host the server, you will need to create a script to run.jar files. Open a new text editor and copy the following command:

The minecraft_server.1.16.4.jar is the current Minecraft server version available at the time of writing this. You can simply replace the name of the.jar files that you have previously downloaded with the new version if it is available.

The flags -Xmx/-Xms allocating memory for the server. You can increase these values by multiplying them by 1024.

Save this file as run.bat if you're on Windows. If you're using Linux, save this file to run.sh. To ensure that the file can be executed properly, change the extention to.txt.

#4-Run your script

If you're on Windows, double-click the run.bat file.

Linux users will first need to make the file executable. First, type chmod +xrun.sh. This makes the script that you just created executable. The script can be run with./run.sh

#5-Accept EULA

After running the script, you will see warning about accepting the EULA agreement. Close this window, and if you look back in the server folder, you will see a number of new files that have been generated. Open the file called eula.txt. Change the line eula=false and eula=true and save the file.

#6 - Test the server locally

After the EULA agreement has been accepted you can run the script again to start the server (run.bat/run.sh). You should now see more files created in the server folder. Once the configuration is set up and the world is generated, you can test to see if your server works.

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

Congratulations, you now own your very own Minecraft server! You want to play with your friends so you need to open the server to new connections.

#7-Find internal and external IP addresses

You will need to find your internal (private) IP address in order to port forward in the next step, and you will need your external (public) IP for other people to connect to your server.

First, to find your internal IP:

Enter cmd into the search box and hit enter to open the command prompt. Enter the command "ipconfig" to display a list of Ethernet adapters or Wi-Fi card options.

If you are on Linux, open a terminal with ctrl + alt + t. Type the command ifconfig and you will see the list of Wi-Fi cards and Ethernet adapters.

Depending on how you are connected to the internet (Wi-Fi or Ethernet), look for the IPv4 Address (which starts with 192.168) under your internet connection type-this is your private IP address.

To find your external IP:

Google will give you your public IP address if you just type "my IP" into Google. Alternatively, you can go to https://whatismyipaddress.com/ and it will also tell you your public IP address.

#8- Port Forwarding

Port forwarding allows you to open up a specific port in your local network to allow traffic to connect to a particular service. DJ W360 In this case, we will be opening up the default Minecraft port, 25565.

To port forward, you need admin access to your network. You can access many home routers by simply typing 192.168.1.1 into a web browser. Enter your admin credentials. Next, look for "port forwarding" settings. This will usually be under the "advanced options", "advanced set", or "networking” tab.

For example, port forwarding on a NetGear router can be found under "Advanced",-> "Advanced Setup",-> "Port Forwarding/Port Triggering".

Click on "Add Custom service" here. Give the service name anything recognizable, like "Minecraft Server". Under the service type, make sure TCP/UDP is selected. Enter the default Minecraft port number "25565" to determine the internal or external port ranges. Finally, enter the private address you found in step 7 for the interal Ip address. Click Apply, and your changes will be saved.

#9-Edit server configuration files

Open the server.properties with the text editor of your choice. Scroll down until you find server-port or server-ip. Make sure the server-port is set to the port that you just opened for port forwarding, and server-ip is your internal (private) IP address.

These two fields should look something like:

(192.168.1.88 will be whatever your private IP is.)

Other settings can be modified in this file as well, including difficultly, game mode and PvP. Save and close the file after you have made all your changes.

#10-Test server's public IP

Now that the port is open for communication and the settings are properly configured, run the server again 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. Voila! Now you and your friends can play on the server together by entering the same public IP address in their Minecraft clients.

Thank you

Minecraft is a big part of my gaming history. I feel so nostalgic every time I create a new environment. I put this guide together to help everyone be able to share this same experience. There are so many ways to create a Minecraft server, but I wanted to write a guide to provide the simplest and quickest way to help you get started. If this if your first time creating your own Minecraft server, or you've done it a hundred times before, I hope this guide was easy to follow, and I wish you the best of luck.

Report Page