以zookeeper为注册中心搭建spring cloud环境bug
2021-01-27 19:16
标签:cloud discovery over keep cut post name 地址 cat 错误描述: 服务间调用的时候 总是不通 feign.RetryableException: connect timed out executing POST http://common-service/supplywater/deviceManage/keyUnitData 原因、; 以zookeeper为注册中心时,配置文件需指定机器地址 https://blog.csdn.net/my_momo_csdn/article/details/82190560 以zookeeper为注册中心搭建spring cloud环境bug 标签:cloud discovery over keep cut post name 地址 cat 原文地址:https://www.cnblogs.com/gaomanito/p/12842866.htmlspring:
application:
name: common-service
cloud:
zookeeper:
connect-string: 121.196.91.0:2172
discovery:
enabled: true
#最重要的就是下面这句
instance-host: 121.196.91.0
上一篇:maven 引入本地jar
文章标题:以zookeeper为注册中心搭建spring cloud环境bug
文章链接:http://soscw.com/index.php/essay/47892.html