How To Make A Minecraft Server Public


This simple guide will show you how to create a world that is perfect for you and your friends in just 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. Let''s get started!



#1-Create a server folder



Create a new folder in whatever directory you choose. This folder will house all server files.



#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



You will need a script to execute the.jar file in order to host the server. Open a new text file, and copy the following command into it:



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.



The -Xmx or -Xms flags allocate memory to the server. You can increase these values in muliples of 10024.



If you are on Windows, save this file as run.bat. If you''re on Linux, save the file as 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.



If you are on Linux, you will first have to make the file executable. First, type the command: chmod+x run.sh. This enables the script you just created to be executable. You can then run the script by using./run.sh



#5-Accept EULA



After running the script, you will see warning about accepting the EULA agreement. Close this window. You will see new files in the server directory if you go back to it. Open the file eula.txt and change the line "eula=false" to "eula=true". Save and close the file.



#6-Test the server locally



Once the EULA agreement has been accepted, you can now run the script to restart the server (run.bat/run.sh). You should see the new files that were created in the server directory. Once the configuration is set up and the world is generated, you can test to see if your server works.



Click on multiplayer to open Minecraft. In the server address field, type localhost and click on connect.



Congratulations, you now own your very own Minecraft server! You now want to play with other people, so you will need to open the server for incoming connections.



#7-Find internal and external IP addresses



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



To find your internal IP, first:



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 IP address from outside,



Google will give your public IP address by simply typing "my IP", in 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 be opening up the default Minecraft port, 25565.



To port forward, you need admin access to your network. Many home routers can be accessed by typing 192.168.1.1 in a web browser. Enter your admin credentials, then look for the "portforwarding" settings. This can be found under the "advanced setting", "advanced configuration", or "networking” tab.



Port forwarding can be found on a NetGear router under "Advanced"-> "Advanced Setup”-> "Port Forwarding/Port Triggering".



Click on "Add Custom service" here. Give the service name anything recognizable, like "Minecraft Server". Make sure TCP/UDP selection is made under the service type. For both the internal and the external port ranges, use the default Minecraft port "25565". For the interal IP address enter the private IP address that you found in step 7. Click apply, and then your changes will be saved.



#9 - Edit the server configuration files



Open the server.properties file with your text editor of choice, and scroll down to where server-port and server-ip are. Make sure server-port is set at the port you opened for port forwarding. server-ip represents your internal (private) IP.



These should be the two fields.



Whatever your private IP is, (192.168.1.88) will be it.



Other settings can be modified in this file as well, including difficultly, game mode and PvP. After you''ve made all your changes, save the file and close it.



#10-Test your server''s public IP



Now that the port is open and the settings have been configured properly, you can launch the server again. You can either click the run.bat File (Windows) oder run the command./run.sh for Linux. After the server finishes loading, you can test whether your server works using your public IP address (found 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. https://kd76.com/ This guide was created to allow everyone to enjoy 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.