修复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: cloud:
zookeeper: zookeeper:
connect-string: 10.1.31.126:2181 connect-string: localhost:2181
baseSleepTimeMs: 3000 baseSleepTimeMs: 3000
maxRetries: 3 maxRetries: 3

View File

@@ -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

View File

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

View File

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

View File

@@ -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:

View File

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