Jump to content

Recommended Posts

Posted

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?

  • 2 weeks later...
  • 1 month later...
Posted (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 by Nick_Crawford
Posted
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

Posted
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?

Posted
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...