Page 1 of 1
Help setting up multiple Factorio server on same computer
Posted: Tue Mar 27, 2018 5:53 pm
by kevin28115
So to start off I'm using Windows to host factorio. I have never used Linux and right now do not have to time to re-set up my server for linux (plus I'm lazy so that doesn't help). That being said if this is able to be done on linux please link me and I'll read it and pray I can make a breakthrough.
I can launch one instance of terraria via the following batch.
start /high /wait factorio.exe --start-server Railworld.zip --server-settings "serversetting.json"
However, if I launch a 2nd one I am unable to do so. I scanned the cmd script and found the following
https://imgur.com/a/fEDIP
It seems that it is trying to open the same udp socket and that is the problem. Is there a fix for this or is the issue elsewhere?
Thanks in advance.
Re: Help setting up multiple Factorio server on same computer
Posted: Tue Mar 27, 2018 6:04 pm
by impetus maximus
change the port on one of the instances to something other than 34197, like 34198.
[edit]i think you will need a server config file for each instance. can someone confirm this?
Re: Help setting up multiple Factorio server on same computer
Posted: Tue Mar 27, 2018 6:12 pm
by kevin28115
impetus maximus wrote:change the port on one of the instances to something other than 34197, like 34198.
[edit]i think you will need a server config file for each instance. can someone confirm this?
That's the first thing I did and did not help. It was in the config.ini
Re: Help setting up multiple Factorio server on same computer
Posted: Tue Mar 27, 2018 6:22 pm
by impetus maximus
do you have two Factorio folders or one? how many config files?
Re: Help setting up multiple Factorio server on same computer
Posted: Tue Mar 27, 2018 6:31 pm
by kevin28115
impetus maximus wrote:do you have two Factorio folders or one? how many config files?
2 folders with 2 config files.
Re: Help setting up multiple Factorio server on same computer
Posted: Wed Mar 28, 2018 3:59 am
by impetus maximus
in widows i use a bat file to launch the server. inside the bat file i have it pointing to the config file.
i'm guessing you may have to do the same.
have you confirmed the port number is different in each and your setting stuck?
sorry i can't be more help. i've never ran a server on linux.
Re: Help setting up multiple Factorio server on same computer
Posted: Wed Mar 28, 2018 4:12 am
by kevin28115
solved
I'm an idiot and didn't delete the ; for setting to get into effect. D:
Re: Help setting up multiple Factorio server on same computer
Posted: Wed Mar 28, 2018 4:18 am
by impetus maximus
we've all done things like that. glad you got it sorted.