Results 1 to 2 of 2

Thread: Force a dedicated server to use a specific IP.

  1. #1
    Join Date
    Dec 2016
    Rep Power

    Force a dedicated server to use a specific IP.

    Its been awhile since I have hosted a 7 Days server. I have a default IP on a dedicated server and added an additional IP specifically for this game. The problem I have is making the game server use that IP. Some games seem to be easy to move to a specific IP but in this case I cannot get it to go where I want.

    In the config I have;

    <!-- Networking -->
    <property name="ServerIP" value="***.***.***.204"/>

    Stars are covering the true IP. Is there a better way that works or can this be done in the batch file. If so, how?

  2. #2
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    SE Michigan, out in the sticks.
    Rep Power
    I am not aware of a method with Unity to tell it to select a specific IP or adapter.

    If you are hosting on Linux, you could probably tie the process to using the specific IP address or ethernet adapter. It's a pretty complex setup though.

    It would probably be easier to just bind the whole server to that IP gateway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts