adek997 Posted October 22, 2020 Share Posted October 22, 2020 Hello! My dedicted server is used for several different tasks, running windows. It have 3 ip addresses, one for local file shares and other two for VMs. 7d2d dedicated server grab different local ip every time i start it. Is there a way i could specify which ip allow to use? Link to comment Share on other sites More sharing options...
SylenThunder Posted October 22, 2020 Share Posted October 22, 2020 At one point I thought there was an option in the config, but I can't find anything on it now. It appears that Unity may have an argument serverBindToIP that could be used in the startup string. In the config you would change line 69 from start %GAMENAME% -logfile "%LOGFILE%" -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated to start %GAMENAME% -logfile "%LOGFILE%" -quit -batchmode -nographics -serverBindToIP=192.168.1.145 -configfile=serverconfig.xml -dedicated where 192.168.1.145 would be the IP address for the local adapter you wish to bind to. I've been running into a similar issue with Empyrion lately, and will try this there. I host our 7 Days server on Linux, and it's easy peasy there. (Windows used to have an option for binding a protocol/process to an adapter, but it was removed. The 3rd-Part program ForceBindIP no longer functions either.) Link to comment Share on other sites More sharing options...
adek997 Posted October 22, 2020 Author Share Posted October 22, 2020 Jackpot !!! You are awesome for quick response. Couldn't do it without you! Thank you SylenThunder. Link to comment Share on other sites More sharing options...
SylenThunder Posted October 23, 2020 Share Posted October 23, 2020 27 minutes ago, adek997 said: Jackpot !!! You are awesome for quick response. Couldn't do it without you! Thank you SylenThunder. LOL try it first and see if it works. Link to comment Share on other sites More sharing options...
adek997 Posted October 25, 2020 Author Share Posted October 25, 2020 You right. Lol. I jump the gun:p Finally got little time to mess around with the server and adding serverbindtoip didn't work for me. Any other ideas? Alternatively I could move it under one of my Linux vms however is there a way to also move 7d2d server world data files from windows to Linux? Or would I be forced to start all over? Link to comment Share on other sites More sharing options...
SylenThunder Posted October 26, 2020 Share Posted October 26, 2020 7 hours ago, adek997 said: Alternatively I could move it under one of my Linux vms however is there a way to also move 7d2d server world data files from windows to Linux? Or would I be forced to start all over? Yes, there is a guide to migrating saves in the Sticky FAQ thread. I do it quite often between Windows and Linux. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.