public class BattleCoreClient implements NodeConnectionListener { private static String gatewayIP = "127.0.0.1"; //update with your IP address //....... } }