×

Archive

How to host 2 Minecraft servers on one computer?

Minecraft is one of the best-selling video games of all time with 126 million active users monthly and 200 copies having been sold.

Due to its popularity, the idea of hosting the game on your PC and playing with your friends has crossed your mind. You might have already set up the first server and want to set up the second on your PC. It is common to find Minecraft players requesting an IP address for every Minecraft server that they run on their PCs. This increases usability and makes it easier for new players.

To host 2 Minecraft server on one computer, you need to forward the ports, run the servers, and finally run the servers but with different user permissions.

How to set up two Minecraft servers on a PC

Before hosting two Minecraft servers on your computer, there are steps that you need to undertake and do it correctly to avoid running into problems and getting frustrated. These steps are as follows:

  1. Port forwarding

Port forwarding is the first step and is usually the most difficult one for most people. It is so crucial that it determines whether you will host a server or not. Firstly, you need to log in to your router by connecting your PC to your wireless network. Then open your browser and type in your router’s local IP address which varies from a router to another. You can get it by asking your ISP. The next step is to give a static IP address to your PC’s server to ensure that port forwarding has been done to the right PC. For example, if your PC’s IP address is 123.546.709.01 and the port being used is 12345, then you need to forward the port to another port like 12346 the same as the first port was forwarded, and then have others join the current server by giving them the following IP address – 123.546.709.01:12345. This gives them access to the first server. For the second one, they can join via 123.546.709.01:12346.

To do so, look for a table in your router with a label like ‘static DHCP’ which might be described differently on your router’s control panel depending on your router’s software. If you’re unable to find it, look it up using your router’s user manual. Fill out your PC’s MAC address by opening the command prompt on your PC and typing in ‘ipconfig -all’. On the results page, you will see your Wi-Fi/Ethernet card’s physical address which is also the MAC address.

Now that you have assigned a static IP address to your computer, you can go ahead and open up your router’s ports. On the same router’s web page depending on your router’s software, navigate to a page called ‘Port Forwarding’ or similar. The OpenRCT2 multiplayer standard port is 11753 and you will need to open additional ports if you want more than one server on your computer.

  1. Running the servers

Now that you are done with the hardest part and have forwarded the ports, it’s time to run your servers. Open OpenRCT2 and click on the multiplayer icon to proceed. Next, click on ‘Start Server’ which opens a screen with details to fill. Open another OpenRCT2 server instance which starts another server that your computer can handle comfortably.

  1. Running the servers with different user permissions

You already have your two servers running and are probably asking yourself, why are we running servers with different user permissions? The issue with the above step is that all your servers have the same permissions for each user because they use the same files for user data. What this means is that an admin for one server automatically becomes an administrator on the second server. To change this and have each server have its separate permissions, we need to edit the users.json file in the OpenCRT data folder, a folder that contains all permissions for users so that each server has its own copy of this file.

Go to your computer’s File Explorer and navigate to Documents. Locate the OpenCRT2 folder, open it, and create a new folder insider and give it a name like ‘Minecraft server2’ for easy distinction. In this new folder, move the start.bat file into it and run it. Running the file will launch OpenCRT2 and make new user data files including users.json & config.init in the new folder. Any time you want to run a second server on your PC, you will have to open this folder and click on the start.bat file.

Also, you can create more servers on your PC by opening the OpenCRT2 folder and creating additional folders the same way, and running start.bat files from within them. Another advantage of this procedure is that OpenCRT2 remembers the last port that was typed in. And so, every time you run server 2, you won’t have to type in the port number because it is stored in the config.ini file for quick access.

IssueHow to fix
How to host 2 Minecraft servers on one computerConnect your PC to the wireless network and open your browser. Find your router’s local IP address then go to your browser and type it. Give your computer a static IP address and ensure the port forwarding is correct. Go to your router’s ‘Port Forwarding’ page and open another port. Open OpenCRT2 and start the servers. Next, run the servers using different user permissions by navigating to Documents on your PC and opening the ‘OpenCRT2’ folder. Create a new folder inside it and move the start.bat file and run it.

Conclusion

Minecraft is an exciting multiplayer game that you can customize and play it using your PC as the server to enhance the experience and invite your friends to share the experience. You can now set up two servers easily using the above steps and continue enjoying this game.

Frequently Asked Questions (FAQs)

What is the best system configuration for running Minecraft servers on my PC?

The most ideal computer to run Minecraft servers is a desktop and it needs to be a bit powerful since you’ll be running and playing Minecraft on it. We recommend using a wired Ethernet connection instead of a wireless connection for your servers to maintain the required speeds.

How much RAM does a server need?

The most ideal amount of RAM for running a server is at least 3GB. To optimize your process, it’s good to get a higher RAM. This will improve efficiency and runtime.

×