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.
Help setting up multiple Factorio server on same computer
-
- Burner Inserter
- Posts: 9
- Joined: Mon Aug 14, 2017 11:39 pm
- Contact:
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Help setting up multiple Factorio server on same computer
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?
[edit]i think you will need a server config file for each instance. can someone confirm this?
-
- Burner Inserter
- Posts: 9
- Joined: Mon Aug 14, 2017 11:39 pm
- Contact:
Re: Help setting up multiple Factorio server on same computer
That's the first thing I did and did not help. It was in the config.iniimpetus 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?
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Help setting up multiple Factorio server on same computer
do you have two Factorio folders or one? how many config files?
-
- Burner Inserter
- Posts: 9
- Joined: Mon Aug 14, 2017 11:39 pm
- Contact:
Re: Help setting up multiple Factorio server on same computer
2 folders with 2 config files.impetus maximus wrote:do you have two Factorio folders or one? how many config files?
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Help setting up multiple Factorio server on same computer
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.
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.
-
- Burner Inserter
- Posts: 9
- Joined: Mon Aug 14, 2017 11:39 pm
- Contact:
Re: Help setting up multiple Factorio server on same computer
solved
I'm an idiot and didn't delete the ; for setting to get into effect. D:
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Help setting up multiple Factorio server on same computer
we've all done things like that. glad you got it sorted. ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)