X

NOTICE

Are you sure you want to report this?

This category is for Realms and dedicated server feedback. Please send support issues to help.mojang.com, as support posts, bugs, and individual server issues will be removed. Remember that when it comes to "adding more servers" or realm restrictions we are constrained by the rules of the various platforms Minecraft is available on. Thanks!

97

Multiple servers on a single IP address (Bedrock Edition)

16 Comments

Post a new comment:

Please sign in to leave a comment.

  • 0
    Dogle601 commented
    Comment actions Permalink

    This would be a good idea for us server owners

    Everyone please upvote this.

  • 0
    Comment actions Permalink

    Would it be too much to ask for you to write this in a language that casual server players like myself can understand? Like, explain what the impact on players would be, if any. I'd probably vote if I understood what you were saying.

  • 1
    lukeeey21 commented
    Comment actions Permalink

    @MacchuPicchu96 It has nothing to do with players. It's simply lets server owners run multiple servers on the same system but on different ports and seperate domains for each port. For example it would currently be

    IP: example.com      PORT: 19132

    IP: example.com      PORT: 19133

    But with SRV records we could make it so players can do

    IP: example.com      PORT: 19132

    IP: factions.example.com     PORT: 19132 (but it points to example.com 19133)

  • 0
    x0b1337 commented
    Comment actions Permalink

    Already have solutions to this, you can manually set server ports in your server files and have players connect to specific ports. And if you have the time you can just make a multiworld lobby.

  • 3
    JustPlayHere commented
    Comment actions Permalink

    @UnplayedGames they do have an option for ports.

    Hosting Companies are limited by only using the first IP address.

    In Java Edition they're many clients who want to use the "Default Port" which is 25565. Luckily, in Java Edition you can define a "server-ip" and multiple IPs can be used on a single server. This allows the ability to use DNS Records for "A Records" or "SRV Records".

    In Bedrock Edtion they're many clients who want to use the "Default Port" which is 19132. Unfortunately, in Bedrock Editon you cannot define "server-ip" and only allows the ability to use the first IP address of the server.

    The reason why clients sometimes want this is that they can still set up a "Sub Domain" for Bedrock Edition as it points to an IP address using an "A Record" and if they have the default port. Users don't have to change the input of that port.

    If a host has a 100 Dedicated Servers and each of them has 5 Dedicated IP addresses, that would potentially be 500 clients using IP:19132 vs. With the current setup you can only do 100 clients using IP:19132 as it's limited by not defining a "server-ip".

    SRV Records would also be a plus as this would remove the "Port Field" from the Bedrock Edition, and you could then have the same 100 Dedicated Servers and host single-ip:many ports, but with SRV Support it would hide that port.

    TLDR;

    • Add server-ip with (IPv4 and IPv6 support) Java has this.
    • Remove the port field from Bedrock Editions.
    • Add SRV Support
  • 0
    Comment actions Permalink

    I totally want this because I am going to try to set up a server!

  • 0
    Comment actions Permalink

    I totally want this because I am going to try to set up a server!

  • 1
    Tundra Tamer commented
    Comment actions Permalink

    This can already be done by running the server on a docker container. Each container has a different open external port. I'm currently running multiple BDS' this way. It's also more efficient on system resources and backup administration.

  • 2
    GHosaPhat commented
    Comment actions Permalink

    Unless I'm mistaken, you can currently do this without too much difficulty. VM's and Docker containers aren't necessary, although they can be tremendously useful to isolate the Minecraft server from other systems for security.

    To run multiple instances of BDS from a single machine/IP address, simply:

    1. Create a new, empty directory for the bedrock_server executable and its supporting subdirectories
    2. Decompress/unzip the bedrock-server-<versionnumber>.zip file (or copy the files and folder structure from an existing server instance) into that directory.
    3. Edit/save the server.properties file to change the server-port and server-portv6 values
    4. Launch the bedrock_server executable from the new directory

    As long as the ports chosen in #3 aren't already being used by another BDS instance (or some other application), both should run side-by-side without any issue. I've done it this way and haven't seen any issues or conflicts myself, although it was more for proof-of-concept than actual usage. I haven't actually done any sort of "stress testing" of it.

  • 0
    SLDDL commented
    Comment actions Permalink

    it's impossible, the only way is to use a bungeecord

     

  • 2
    Steve X Rand commented
    Comment actions Permalink

    As GHosaPhat commented, I just make a copy of the bedrock-server directory, call it something else, then edit the server file with the world and optionally the name of the server, and change the ip4/6 ports and then launch the bedrock-server.exe.

    The only caveat is that any server I create that is not on the default port won't show up in LAN games. Something to do with the broadcasting or the way the clients listen on the LAN?

    Anyway, if you go to servers and add your server manually, IP and port, it connects just fine.

  • 0
    Xdpro2818 commented
    Comment actions Permalink

    You mean MultiWorld Support? I recommend changing ur title. But that would be a GODSEND for me if you could use a command block to transfer someone to a world.

  • 1
    ND Iceberg commented
    Comment actions Permalink

    lukeeey21 is the only one here that is correct. Everyone else is talking about something else.

    As a server owner I want to have players connect to a subdomain with default port number instead of a custom port number. For example, pvp.mydomain.com instead of mydomain.com port 19133.

    Upvote if you think players shouldn't have to worry about port numbers.

  • 0
    discosrule commented
    Comment actions Permalink

    Would love to have this on my server.

  • 0
    rrakanychan commented
    Comment actions Permalink

    In response to Steve X Rand, that caveat is a big one when dealing with children. Not seeing all broadcasting lan games means it's hard to switch between game world easily.

  • 0
    St0ny5137 commented
    Comment actions Permalink

    Yes please add the opportunity to bind the server to a specific IP adress.