begone1992
begone1992
Hi, First of all this is my configuration. configProps.put(BrokerConstants.WEB_SOCKET_PATH_PROPERTY_NAME, "1884"); configProps.put(BrokerConstants.SSL_PORT_PROPERTY_NAME, "8080"); configProps.put(BrokerConstants.HOST_PROPERTY_NAME, ipAddress); configProps.put(BrokerConstants.PASSWORD_FILE_PROPERTY_NAME, ""); configProps.put(BrokerConstants.ALLOW_ANONYMOUS_PROPERTY_NAME, Boolean.TRUE.toString()); configProps.put(BrokerConstants.AUTHENTICATOR_CLASS_NAME, ""); configProps.put(BrokerConstants.AUTHORIZATOR_CLASS_NAME, ""); configProps.put(BrokerConstants.NETTY_MAX_BYTES_PROPERTY_NAME, String.valueOf(BrokerConstants.DEFAULT_NETTY_MAX_BYTES_IN_MESSAGE)); After that I initialize IConfig. IConfig...
I get hostname with command "hostname -I" and then pass it in that line. So at the moment I am using this IP address 10.0.2.15 in that line.
Yes, It started now. But why is this line causing a problem? Because the same configuration is working in Ubuntu 16.