diff --git a/sop-admin/sop-admin-server/src/main/resources/application-dev.yml b/sop-admin/sop-admin-server/src/main/resources/application-dev.yml index 4b09ebbb..f9ff1e38 100644 --- a/sop-admin/sop-admin-server/src/main/resources/application-dev.yml +++ b/sop-admin/sop-admin-server/src/main/resources/application-dev.yml @@ -13,7 +13,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 baseSleepTimeMs: 3000 maxRetries: 3 diff --git a/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml b/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml index 776e60df..4c2989d5 100644 --- a/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml +++ b/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml @@ -8,7 +8,7 @@ spring: cloud: zookeeper: # zookeeper配置 - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 eureka: port: 1111 diff --git a/sop-example/sop-easyopen/src/main/resources/application-dev.yml b/sop-example/sop-easyopen/src/main/resources/application-dev.yml index ce9f2f27..b280f484 100644 --- a/sop-example/sop-easyopen/src/main/resources/application-dev.yml +++ b/sop-example/sop-easyopen/src/main/resources/application-dev.yml @@ -16,7 +16,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 # 指定接口路径 easyopen: diff --git a/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml b/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml index 2053e436..6130f136 100644 --- a/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml +++ b/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml @@ -8,7 +8,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 # 注册中心 eureka: diff --git a/sop-gateway/src/main/resources/application-dev.yml b/sop-gateway/src/main/resources/application-dev.yml index 63890eb7..db470bbe 100644 --- a/sop-gateway/src/main/resources/application-dev.yml +++ b/sop-gateway/src/main/resources/application-dev.yml @@ -18,7 +18,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果 discovery: diff --git a/sop-website/website-server/src/main/resources/application-dev.yml b/sop-website/website-server/src/main/resources/application-dev.yml index d5d8ed32..b6e0b7e0 100644 --- a/sop-website/website-server/src/main/resources/application-dev.yml +++ b/sop-website/website-server/src/main/resources/application-dev.yml @@ -14,7 +14,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 api: # 测试地址