修复zookeeper连接报错问题

This commit is contained in:
tanghc
2019-04-22 10:27:43 +08:00
parent ae76083184
commit fde7cc482a
7 changed files with 17 additions and 18 deletions

View File

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

View File

@@ -14,10 +14,9 @@ spring:
# 指定服务名
name: easyopen-service
# 指定zookeeper
cloud:
zookeeper:
connect-string: localhost:2181
connect-string: 10.1.31.126:2181
# 指定接口路径
easyopen:

View File

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