Nick_Crawford Posted April 22, 2019 Posted April 22, 2019 So im trying to run 2 servers from the same ip. Im using different ports for each server and it works but only 1 is visible for others. Is there a port i might have to open up on my router also to get this working?
ED Team c0ff Posted April 22, 2019 ED Team Posted April 22, 2019 you should also change control API port: autoexec.cfg: webgui_port = 8088 default value is shown. Dmitry S. Baikov @ Eagle Dynamics LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.
TAKYON Posted May 4, 2019 Posted May 4, 2019 All you'll need to do is change the port that it runs on in serverconfig.lua and the webgui port in autoexec.cfg
Nick_Crawford Posted June 9, 2019 Author Posted June 9, 2019 (edited) I still can't figure this out. I think i've set it all up correctly. Running 1 server works very good on port 10308, but as soon as i open the second server the first one gets disconnected. On my router i've opened 10309, 8088 and 8089 both udp and tcp. I've done two seperate instances **Target** "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS.exe" -server --norender -w Server1 **Start in** "C:\Program Files\Eagle Dynamics\DCS World" **Target** "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS.exe" -server --norender -w Server2 **Start in** "C:\Program Files\Eagle Dynamics\DCS World" In config on both servers i've added autoexec.ini webgui_port = 8088 net.use_upnp = false webgui_port = 8089 net.use_upnp = false in serverSettings.lua i have set up the ports for each server ["port"] = 10308 ["port"] = 10309 I've tried turning off the firewall, but it was still the same. I've tried with 1 account to start the servers on, and i've tried with 2 separate accounts but didn't work. I also tried open port 10307 and 8087 for the second server to see if that would work better but the same issue. anyone know what i'm missing? Edited June 9, 2019 by Nick_Crawford
TAKYON Posted June 9, 2019 Posted June 9, 2019 I still can't figure this out. I think i've set it all up correctly. Running 1 server works very good on port 10308, but as soon as i open the second server the first one gets disconnected. On my router i've opened 10309, 8088 and 8089 both udp and tcp. I've done two seperate instances **Target** "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS.exe" -server --norender -w Server1 **Start in** "C:\Program Files\Eagle Dynamics\DCS World" **Target** "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS.exe" -server --norender -w Server2 **Start in** "C:\Program Files\Eagle Dynamics\DCS World" In config on both servers i've added autoexec.ini webgui_port = 8088 net.use_upnp = false webgui_port = 8089 net.use_upnp = false in serverSettings.lua i have set up the ports for each server ["port"] = 10308 ["port"] = 10309 I've tried turning off the firewall, but it was still the same. I've tried with 1 account to start the servers on, and i've tried with 2 separate accounts but didn't work. I also tried open port 10307 and 8087 for the second server to see if that would work better but the same issue. anyone know what i'm missing? You haven't changed the port of the second server, go into serverconfig.lua on the second server and change the [port] = 10308 to 10309 and then the servers won't conflict
Nick_Crawford Posted June 9, 2019 Author Posted June 9, 2019 You haven't changed the port of the second server, go into serverconfig.lua on the second server and change the [port] = 10308 to 10309 and then the servers won't conflict no thats all fine, they are on different ports in the serversettings.lua. server 1 is 10308 and server 2 on 10309. I do see now that my autoexec in config is .ini and not cfg. Could that be causing this?
TAKYON Posted June 9, 2019 Posted June 9, 2019 no thats all fine, they are on different ports in the serversettings.lua. server 1 is 10308 and server 2 on 10309. I do see now that my autoexec in config is .ini and not cfg. Could that be causing this? An easier way to do it would to be use the Webgui, probably safer. But if you still want to edit it manually it's the serverconfig.lua in C:\users\yournamehere\saved games\DCS World(openbeta)\config. You probably were looking at the one in the dcs main directory that you don't want to touch
Recommended Posts