修复zookeeper连接报错问题

1.x
tanghc 6 years ago
parent 76ea062b61
commit e795f07107
  1. 2
      sop-admin/sop-admin-server/src/main/resources/application-dev.yml
  2. 2
      sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml
  3. 2
      sop-example/sop-easyopen/src/main/resources/application-dev.yml
  4. 2
      sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml
  5. 2
      sop-gateway/src/main/resources/application-dev.yml
  6. 2
      sop-website/website-server/src/main/resources/application-dev.yml

@ -13,7 +13,7 @@ spring:
cloud: cloud:
zookeeper: zookeeper:
connect-string: 10.1.31.126:2181 connect-string: localhost:2181
baseSleepTimeMs: 3000 baseSleepTimeMs: 3000
maxRetries: 3 maxRetries: 3

@ -8,7 +8,7 @@ spring:
cloud: cloud:
zookeeper: zookeeper:
# zookeeper配置 # zookeeper配置
connect-string: 10.1.31.126:2181 connect-string: localhost:2181
eureka: eureka:
port: 1111 port: 1111

@ -16,7 +16,7 @@ spring:
cloud: cloud:
zookeeper: zookeeper:
connect-string: 10.1.31.126:2181 connect-string: localhost:2181
# 指定接口路径 # 指定接口路径
easyopen: easyopen:

@ -8,7 +8,7 @@ spring:
cloud: cloud:
zookeeper: zookeeper:
connect-string: 10.1.31.126:2181 connect-string: localhost:2181
# 注册中心 # 注册中心
eureka: eureka:

@ -18,7 +18,7 @@ spring:
cloud: cloud:
zookeeper: zookeeper:
connect-string: 10.1.31.126:2181 connect-string: localhost:2181
gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果 gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果
discovery: discovery:

@ -14,7 +14,7 @@ spring:
cloud: cloud:
zookeeper: zookeeper:
connect-string: 10.1.31.126:2181 connect-string: localhost:2181
api: api:
# 测试地址 # 测试地址

Loading…
Cancel
Save