This would be great for server owners, because we could host multiple servers on a single IP address on different ports and direct multiple subdoimains to each port.
This has already been a feature on Java Edition for a long time.
18 Comments
Please sign in to leave a comment.
-
@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
@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)
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:
- Create a new, empty directory for the bedrock_server executable and its supporting subdirectories
- Decompress/unzip the bedrock-server-<versionnumber>.zip file (or copy the files and folder structure from an existing server instance) into that directory.
- Edit/save the server.properties file to change the server-port and server-portv6 values
- 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.
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.
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.
I totally want this because I am going to try to set up a server!
I totally want this because I am going to try to set up a server!
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.
Would love to have this on my server.
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.
The question would be, ¿How come this is still not a feature? PLEASE, add SRV records to the client.
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.
Multiple servers from the same machine would be great, this way I can run different worlds set at different difficulty levels. At the moment only one server is seen on LAN, so machines like the XBox can only see one world.
Post a new comment: