排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2024TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:50010702506256
欢迎加群交流技术
原
Unable to start Ocelot, errors are: When not using service discovery DownstreamHostAndPorts
分类:
NET CORE
启动Ocelot报错:nable to start Ocelot, errors are: When not using service discovery DownstreamHostAndPorts
是因为Ocelot版本问题,意思就是缺少了DownstreamHostAndPorts的配置
以前的配置方法是:
"DownstreamScheme": "http" "DownstreamHost": "localhost"
现在换成了只配置一个DownstreamHostAndPorts,其实也是为了集群方便吧
"DownstreamHostAndPorts": [ { "Host": "localhost", "Port": 9001 } ],
评价