修复zookeeper连接报错问题

This commit is contained in:
tanghc
2019-04-22 10:30:29 +08:00
parent 76ea062b61
commit e795f07107
6 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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