美文网首页
Spring Cloud git 8888端口问题

Spring Cloud git 8888端口问题

作者: endlesswork | 来源:发表于2019-04-26 18:38 被阅读0次

最近在尝试拿cloud新版本Greenwich做git配置拉取尝试,看了网上一些博客,按照他们来做
改了server 端口 发现拉取配置时还是走8888端口


image.png

查看注册中心server,client端已经注册,server接口也能正常拉取git上面配置


image.png

发现网上也有很多人遇到这个问题,有一些是配置没有放到bootstrap下面,
我的项目配置时正确放到bootstrap下面的,后来仔细观察,发现网上好多博客里面关于 client端配置有些问题
举例下


image.png
其实问题的关键在于 yml配置问题 enabled 应该是和 service-id 平级

image.png

相关文章

网友评论

      本文标题:Spring Cloud git 8888端口问题

      本文链接:https://www.haomeiwen.com/subject/gjwqnqtx.html