Search the Community
Showing results for tags 'backend'.
Found 1 result
-
Cannot Run Multiple Dedicated Servers in the Same Physical System?
lobster-san posted a topic in Arma Reforger - Servers & Administration
Hi, I'm having issues hosting more than one dedicated reforger server on the same system, behind the same public IP. I can run a single server without problems, but if I try to launch a 2nd instance, with different configs, that 2nd one will cause the 1st one to shut down. The last log messages left behind by the server getting shutdown are the following, verbatim: BACKEND (W): DS Room/ Server not exist anymore, shutting down... BACKEND (E): [RestApi] ID:[16] TYPE:[EBREQ_LOBBY_DSHeartbeatS2S] Error Code:404 - Not Found, apiCode="DedicatedServerNotFound", message"Dedicated server not found" RPL : IReplication:: Finishing... RPL : rpl::PiP::ProcessNetToGame RPL : IReplication: Finished RPL : Pip::Destroy ENGINE : Game Destroyed. RPL : Pip::Destroy This is not a port binding/conflict/forwarding issue. I can run, join, and play in each instance independently, as long as it's the only one running. (Group members outside the LAN can also join and play just fine.) For example, here's relevant info from each instance's .json config file: Server 1 { "bindAddress": "0.0.0.0", "bindPort": 1989, "publicAddress": "", "publicPort": 1989, "a2s": { "address": "0.0.0.0", "port": 17777 }, // ... } Server 2 { "bindAddress": "0.0.0.0", "bindPort": 2001, "publicAddress": "", "publicPort": 2001, "a2s": { "address": "0.0.0.0", "port": 17778 }, // ... } I'm speculating, but based on log messages each server has about successfully registering with the backend, using <ip>:<port>, it seems as if the instance that registers itself last with the BI backend causes the 1st one to be removed from the backend, which then causes the 1st server's attempt to find/keep itself in the backend on an interval (i.e. the "heartbeat") to fail and shut down. Regardless of whether my speculative root-cause is correct or not, is there a way around this so I can host both instances simultaneously? I'm just trying to host 2 (password-protected) dedicated servers/instances for my group, on the same physical system, with different mod sets, b/c it would be easier than having to SSH and modify JSON config files every single time before playing (e.g. changing mods, etc). The physical system is in my home, and thus behind the same public IP (which may be relevant); this is not through a 3rd party provider. This cannot be changed. Help is appreciated. PS: If not currently possible, BI taking note of this need and/or requirement would be nice.