Page 1 of 1
Can't change the port to run 2 headless servers at once.
Posted: Wed Feb 27, 2019 4:35 am
by SmotPokin42000
I'm trying to run 2 headless servers at the same time, in different directories, 0.16.51 and 0.17.1. For the 0.17.1 setup, I've changed the port= value in config.ini to 34199, however the log shows it opening the default socket 34197 and then erroring. How do I fix this?
Re: Can't change the port to run 2 headless servers at once.
Posted: Wed Feb 27, 2019 11:58 pm
by cybersteel8
Try and explicitly include the config.ini path in the command you execute to start the server (the -c option). To test if it is being executed correctly, flick the check update flag so that you can see a change in the output to ensure it's being read correctly.
Re: Can't change the port to run 2 headless servers at once.
Posted: Thu Feb 28, 2019 4:04 am
by SmotPokin42000
Okay, I found the problem, works perfectly now. I did add the config.ini path to the start command, however, nothing changed. When I went back to the ini file, I finally read this: ; Semicolons (;) at the beginning of the line indicate a comment. Comment lines are ignored. Seems I had port= commented out. :Facepalm:
Re: Can't change the port to run 2 headless servers at once.
Posted: Thu Feb 28, 2019 4:55 am
by cybersteel8
Ahhhhhh yes, of course! Well spotted, grats
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)