雪霏

Unable to start Ocelot, errors are: When not using service discovery DownstreamHostAndPorts

电脑版发表于:2020/8/9 18:17

启动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
  }
],


关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
猜你喜欢
      /