Sunday, December 4, 2011

How do you run multiple servers or worlds at the same time with MineOS Crux?

Question

I am trying to run multiple servers at the same time using MineOS Crux. I am new to this so hopefully this is not obvious. I am experimenting right now with MineOS Crux running on a VirtualBox, and that all runs and works as expected. I can launch the WebUI, and configure the servers, but then when I run the Minecraft client from the Host PC, and try to connect to the servers running on the Virtual PC by using the Add Server screen in client and specifying both IP and Port (as IP:PORT), I seem to only ever be able to connect to one, and only if that one is running on the default port (25565).

I have tried setting different port numbers for the different servers, and that allows them to both start, but then in the client I can't connect to the second one.

I have tried setting port forwarding on my router to both the host PC and the MineOS Crux virtual PC, but no luck either way (although after thought I realized that shouldn't matter because my host PC and my VM server are both inside my router network).

I want to be able to have 2 or more servers running at the same time so that multiple worlds are available from the server.

Is there something I'm missing, or can this not be done? I could perhaps make multiple virtual PCs, and run separate MineOS Crux servers in them, but is that the only way?

Maybe to clarify:

Perhaps my first question should be: Is it possible to run more than one vanilla Minecraft server from a single instance of MineOS Crux and connect to them simultaneously from separate clients?

Answer

Most likely, you're inputting an IP that looks something like this:

XXX.XXX.XXX.XXX

That leaves off the port number, which is required for a connection. In this case, Minecraft assumes a default port number of 25565, meaning you connect only to the server running on port 25565. To connect to one running on, say, 25566, you would do this:

XXX.XXX.XXX.XXX:25566

No comments:

Post a Comment