Multiple servers without user specified port

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

CrushedPixl
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Jul 04, 2018 2:14 pm
Contact:

Multiple servers without user specified port

Post by CrushedPixl »

TL;DR
Instead of specifying ports (the number after the IP/hostname, e.g. 123.456.78.900:34198) for every server except the server which uses the standard Factorio port (34197) we could have different subdomains (e.g. like this forum uses forums.factorio.com) which are much easier to remember and looks better.
What am I trying to do?
I want to set up multiple servers under the same IP (most people only have one IP address) and it looks something like this:
myfactorio.com (This uses the standard port 34197)
myfactorio.com:34198
myfactorio.com:34199
What problems occur?
Because I don't want to make the servers public it's required that people manually enter the IP/hostname and IP. I think it's unnecessarily complicated to remember the port for every server. It would be so much nicer to have something like this:
private.myfactorio.com
friends.myfactorio.com
experiment.myfactorio.com

That is much cleaner and easier to remember, right?
What is stopping me from doing this?
First off, two servers can't use the same ports because they would interfere with each other. Therefore we need to change the default port, but this can be done without the players knowing about it.

Factorio doesn't support SRV records, which are used to recognize what port is the destination even when it isn't specified by the user.
The other way to achieve similar results is to implement the same system that web servers use to know what document to serve to the browser when multiple sites exist and use the same port.
The first way needs configuration of the domain while the other alternative can simply be configured in the Factorio server if implemented.
This would be great if the devs would implement one of these features (preferably the latter one since it is simpler to configure).
Reddit post about this issue
https://www.reddit.com/r/homelab/commen ... rv_record/
Post Reply

Return to “Ideas and Suggestions”