How To Make A Minecraft Server (Java Edition)


But even though it sounds easy, every router manufacturer has a unique method with a different option name to open up the system port. We won't be able to cover all of them here. Fortunately, you can use setuprouter.com to find your way around the QoP or Port Forwarding settings. They have covered almost every major WiFi router in the market.



Enter Basic Server Details



On your router's port settings page, all you need to do is click on "add service" or "create new" or a similarly named button. Then, you have to have to enter the details for different network-related information.



The format and the positioning might change, but the field names should be more or less the same. You may leave the optional ones as it is if you're not sure. For the rest of the fields, use the following information. - Server/Service/Port Name: Minecraft Server - Start Port: 25565


- End Port: 25565


- Service Type: TCP/UDP


The start and end port might also have maximum or minimum ranges. You can enter the same value: 25565 in all those fields. Enter your Server IP Address & IPv6 Addresses



Your server IP address is the same as the IPv4 address of your PC. To find that and the IPv6 address, follow these steps. 1. Open Command Prompt by searching for "cmd" in the Start menu and click to open it. Alternatively, you can use the Win + R keyboard shortcut to open the Run prompt and type cmd to open it.



2. Then, type "ipconfig /all" in the Command prompt and press enter. The command will list your IPv4 address and IPv6 address on the screen. Enter the same in the Server IP Address segment of the Port Forwarding settings. What we just did will create a new public IP address for your system and your friends can use it to join your server without exposing any confidential details.



Find and Share Your Public IP Address



You can relax now. The hard part of the tutorial is over. Now, you need to load Google and search for "what is my IP". The search results will display your public IP address, and it is the IP address you need to share with your friends to enable them to join your server.



Now, you need to copy (select and ctrl+C) the public IP address and send it to your friends. They need to write it in the place of localhost when adding a new multiplayer server as we did earlier in this tutorial. With that, you and your friends can finally play Minecraft together on your own server. Errors While Making a Minecraft Server



It is a daunting task to understand how to create a Minecraft server. It gets even more complex if there are some random errors in the process. Fortunately, I also experienced the majority of those errors and have found some quick solutions for all of them. Hopefully, your server-making journey will be smoother than mine. JNI Errors



The first error that you may encounter is while opening the server.jar file that we downloaded from the official website. Another version of this error can meet you when the command prompt fails to start the server. Luckily, the solution to most JNI errors is updating Java. If the automatic update isn't working for you, you can manually update the Java by downloading it from this link.



EULA Error



Technically, the EULA error is not an error as Minecraft included it intentionally. But still, you're bound to face it while opening the server.jar file for the first time. The fix is quite straightforward. You need to open the eula.txt file in your Server folder and accept the EULA agreement by replacing a "false" with "true". Just like we did earlier.



Stuck at Scanning for Games in Minecraft



Due to either your Internet or some other reasons, you can get stuck at finding Minecraft Servers while in the multiplayer window. The scanning goes on for a long time with no results.



For most people, waiting it out works fine. But if you are sick of waiting, you can use the "add server" button to manually load the server using its server address. Restarting the game is another quick fix for this situation. Failed to Login: Invalid Session



It is a common Minecraft error that can appear for you and even your friends. It indicates that Minecraft is unable to recognize your username and register it in the server you are trying to enter. The devs suggests restarting the game to fix the error. That can work for a few people, but the better fix is logging out of Minecraft. When you log back into the game, it is sure to register the username while your server is running. Therefore, the invalid session will turn valid. Firewall or Connectivity Errors



Finally, the king of all Minecraft server errors are the basic connection errors. All of them stem from firewall and antivirus settings, as the firewall automatically blocks people from joining the Minecraft server sometimes. To avoid such an error, you need to make an exception for your Minecraft server in your firewall. Here's how:



1. First, open your "Windows Defender Firewall" by searching for it in the start menu. Click to open it.



2. Then, click on the Inbound Rules section in the left panel and select the "New rule" option on the right. Please note that you will have to repeat the same steps with Outbound Rules as well to complete the process from this point onwards.



3. On the new rule window, select the Port option and click "Next".



4. N ow, you can select either TCP or UDP because you will have to repeat this rule creation process with the other option too. Then, in the specific port column, enter your server port ID, which by default will be 25565. Continue the process by clicking next.
Just another mini blog



5. Then, the app will ask the conditions under which it should allow a connection. Here, you need to select the option that says "Allow the Connection" and continue.



6. Finally, you have to choose when the connections are allowed. So, simply select all the given options and click "Next". You can then give the firewall rule a name and save it.



Saving the rule creates an exception for people connecting to your Minecraft server port through your firewall. But first, you need to repeat the process first from step 4, depending upon which option you chose - either TCP or UDP. You need to make a new rule with the other one selected. Finally, you need to make the same two rules in the Outbound Rules section as well. The entire process remains identical. Start Your Online Minecraft Server with Friends



With that, your long and tiring journey of creating a Minecraft server has come to a close. It's time for you to relax, and for that, these best 1.18 mountain seeds might give you the best spot. But if you are not ready to stop yet, you can start exploring the best Minecraft modpacks. Many of them hold the potential to take your servers to the next level. Alternatively, there is also an option to use one of the best Minecraft house ideas to build structures from scratch in your first server. However you choose to go about it, our team is ready to help you with all your need for your server. If you face any errors, you can head to our error section or simply reach out through the comments. Someone from our team will be there to help. With that said, it's now your turn to create your Minecraft Java server right away. TAGS minecraftMinecraft Server Leave a comment


Created: 08/08/2022 13:17:47
Page views: 69
CREATE NEW PAGE