diff --git a/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/pom.xml b/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/pom.xml index 0b806d86..17219f9d 100644 --- a/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/pom.xml +++ b/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/pom.xml @@ -39,7 +39,7 @@ com.netflix.ribbon ribbon-eureka - 2.3-SNAPSHOT + 2.2.4 provided diff --git a/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/src/main/resources/application.properties b/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/src/main/resources/application.properties index b84f5360..8876d29f 100644 --- a/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/src/main/resources/application.properties +++ b/nutzboot-demo/nutzboot-demo-cloud/nutzboot-demo-cloud-client/src/main/resources/application.properties @@ -39,8 +39,8 @@ eureka.preferSameZone=false eureka.shouldUseDns=false # Since shouldUseDns is false, we use the following properties to explicitly specify the route to the eureka servers -eureka.serviceUrl.default=http://eureka.nutz.cn/eureka/v2 -#eureka.serviceUrl.default=http://127.0.0.1:8080/eureka/v2 +#eureka.serviceUrl.default=http://eureka.nutz.cn/eureka/v2 +eureka.serviceUrl.default=http://127.0.0.1:8080/eureka/v2 # for the eureka server's own client config, set on-demand update to false as it may be too quick for the REST # resource initialization