Re: Running server through static ip
Quote:
Originally Posted by
Nullucent
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.
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