public static String getHostIP() {
        String hostIP = "";
        try {
            hostIP = InetAddress.getLocalHost().getHostAddress();

        } catch (UnknownHostException uhe) {
            BmLog.error("Failed to get host IP: ", uhe);
        }
        return hostIP;
    }