Running server through static ip

Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Novice holybug is offline
    MemberRank
    Jul 2019 Join Date
    4Posts

    Re: Running server through static ip

    Quote Originally Posted by Nullucent View Post
    Got all the images back through waybackmachine, they are listed in same order as the guide.
    https://imgur.com/a/XdJr4Gw

    Update:

    So after some experimenting i finally came up with a solution that allows both myself and people from outside my network connect to the server using the loopback adapter. The ip configuration suggested by OP didn't work for me but instead setting 0.0.0.0 to loginserver/network.properties and gameserver/network.properties The only one where i apply my static external IP is gameserver/server.properties. Good luck setting up yours :-)
    thanks Nullucent, my final configuration used RMI.host as 127.0.0.1, and host was 0.0.0.0, too.
    only changed server.properties with static IP just like you.

    I think it is the best setting so far.

    The other troublesome one is the parameter for gameserver to launch JVM.
    Have to edit DEFAULT_JVM_OPTS inside of gameserver.bat,
    the G.C. algorithm is case by case.

    The most difficult one is the mongodb, the nosql DB is possible to produce duplicated IDs,
    and it did often happen when using bank services.

  2. #17
    Apprentice Fongsaiyuk is offline
    MemberRank
    Apr 2020 Join Date
    5Posts

    Re: Running server through static ip

    I did everything but what do i put in my service.ini file on the client side for my friends to connect to me? whenever i put my ip address there it just says the file is corrupted



Page 2 of 2 FirstFirst 12

Advertisement