@@ -44,7 +44,7 @@ public class DipperPositionServer { | |||
String dataId = "dipperposition-service"; | |||
String group = "DEFAULT_GROUP"; | |||
Properties properties = new Properties(); | |||
properties.put(PropertyKeyConst.SERVER_ADDR, ip4); | |||
properties.put(PropertyKeyConst.SERVER_ADDR, ip4.getHostAddress()); | |||
ConfigService configService = NacosFactory.createConfigService(properties); | |||
String content = configService.getConfig(dataId, group, 5000); | |||