mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
修复zookeeper连接报错问题
This commit is contained in:
@@ -13,7 +13,7 @@ spring:
|
||||
|
||||
cloud:
|
||||
zookeeper:
|
||||
connect-string: 10.1.31.126:2181
|
||||
connect-string: localhost:2181
|
||||
baseSleepTimeMs: 3000
|
||||
maxRetries: 3
|
||||
|
||||
|
@@ -8,7 +8,7 @@ spring:
|
||||
cloud:
|
||||
zookeeper:
|
||||
# zookeeper配置
|
||||
connect-string: 10.1.31.126:2181
|
||||
connect-string: localhost:2181
|
||||
|
||||
eureka:
|
||||
port: 1111
|
||||
|
@@ -16,7 +16,7 @@ spring:
|
||||
|
||||
cloud:
|
||||
zookeeper:
|
||||
connect-string: 10.1.31.126:2181
|
||||
connect-string: localhost:2181
|
||||
|
||||
# 指定接口路径
|
||||
easyopen:
|
||||
|
@@ -8,7 +8,7 @@ spring:
|
||||
|
||||
cloud:
|
||||
zookeeper:
|
||||
connect-string: 10.1.31.126:2181
|
||||
connect-string: localhost:2181
|
||||
|
||||
# 注册中心
|
||||
eureka:
|
||||
|
@@ -18,7 +18,7 @@ spring:
|
||||
|
||||
cloud:
|
||||
zookeeper:
|
||||
connect-string: 10.1.31.126:2181
|
||||
connect-string: localhost:2181
|
||||
|
||||
gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果
|
||||
discovery:
|
||||
|
@@ -14,7 +14,7 @@ spring:
|
||||
|
||||
cloud:
|
||||
zookeeper:
|
||||
connect-string: 10.1.31.126:2181
|
||||
connect-string: localhost:2181
|
||||
|
||||
api:
|
||||
# 测试地址
|
||||
|
Reference in New Issue
Block a user