Skip to main contentdfsdf

Home/ shrimpdibble22's Library/ Notes/ How To Make A Minecraft Server Public

How To Make A Minecraft Server Public

from web site

RAUNGE what about Minecraft servers


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



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 an server folder



In whatever directory you choose, create a new folder-this is where all of the server files will be downloaded and run from.



#2-Download JAR file



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



#3-Create the run script



You will need a script to execute the.jar file in order to host the server. 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 change the name of the.jar file you downloaded to reflect the new version.
Minecraft Servers



The -Xmx and -Xms flags are allocating the memory used for the server. You can increase these values in muliples of 10024.



Save this file as run.bat if you're on Windows. If you're using Linux, save this file to run.sh. Make sure to change the extention of.txt to allow the file's proper execution.



#4-Run the script



Windows users can simply double-click on the newly created run.bat.



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



#5-Accept EULA



After running the script, you will see warning about accepting the EULA agreement. You can close this window and look in the server folder to see a number new files. Open the file eula.txt and change the line "eula=false" to "eula=true". Save and close 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 see more new files that were generated in the server folder. Once the configuration has been set up, you will be able to test the server to confirm that it is working.



Open Minecraft and click on multiplayer. Enter localhost in the server address bar and click Connect.



Congratulations, you now own your very own Minecraft server! Now you want to be able play with friends, so you'll need to open up your server to incoming connections.



#7-Find IP addresses both internal and externe



To port forward, you will need your internal (private), IP address. You will also need your public (external) IP address for other people to connect.



First, to find your internal IP:



You can open the command prompt by entering cmd into your search bar and hitting the enter key. Enter the command ipconfig to see a list of Ethernet adapters and Wi-Fi cards.



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 upon how you connect to the internet (WiFi/Ethernet), look for the IPv4 addresses (which start with 192.168). This is your private IP.



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 is the process of opening up a specific port on your local network, so that incoming traffic can connect to a service. In this case, we will open up the default Minecraft port 25565.



In order to port forward, you must have admin access to your local network. You can access many home routers simply by entering 192.168.1.1 on a web browser. Enter the admin credentials, and look for the "port forwarding" settings. This can be found under the "advanced setting", "advanced configuration", or "networking” tab.



On a NetGear router, port forwarding can be found under "Advanced", -> “Advanced Setup”, -> “Port Forwarding/Port Triggering”.



Here, you will want to click on "Add Custom Service". Give the service name anything recognizable, like "Minecraft Server". Make sure TCP/UDP is selected under the service category. For both the internal and the external port ranges, use the default Minecraft port "25565". Next, enter your private IP address from step #7 for the interal Internet address. Click Apply, and your changes will be saved.



#9 - Edit the server configuration files



Open the server.properties file using your preferred text editor. Scroll down to the location of server-port, and server-ip. Make sure you set the server port to the port that was opened for port forwarding. The server-ip value is your internal (private), IP address.



These two fields should look similar:



(192.168.1.88) is whatever your private IP number is.



Other Minecraft settings can also be changed in this file. After you've made all your changes, save the file and close it.



#10-Test server's public IP



Now that the port has been opened for communication, and the settings are correct, you can run the server again by clicking the run.bat (Windows) or the command./run.sh(Linux). Once the server has finished loading you can check if your server runs using your public IP adress that you have obtained in step 7. Voila! Voila! Your friends and you can now play on this server by entering the exact same public IP address into your Minecraft clients.



Thank you



Minecraft is a significant part of my gaming heritage. Every time I create a new world, I feel so nostalgic. This guide was created to make it easy for everyone to have the 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.

shrimpdibble22

Saved by shrimpdibble22

on Aug 24, 22