标签:cloud discovery over keep cut post name 地址 cat
错误描述: 服务间调用的时候 总是不通
feign.RetryableException: connect timed out executing POST http://common-service/supplywater/deviceManage/keyUnitData
原因、;
以zookeeper为注册中心时,配置文件需指定机器地址
spring: application: name: common-service cloud: zookeeper: connect-string: 121.196.91.0:2172 discovery: enabled: true #最重要的就是下面这句 instance-host: 121.196.91.0
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.html