org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectLoss

今天运行dubbo的时候,接收端一直在报这个错误,在网上找了很多方法都不行

org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = Connect

然后我就把我之前的dubbo配置给粘贴了过来,奇迹般的好了???下面是正确配置

dubbo:
  registry:
    address: 192.xxx.xxx.xxx:2181
    protocol: zookeeper
  application:
    name: backgroumd
server:
  port: 9090

192.xxx.xxx.xxx是zookeeper所在的服务器端的URL

你可能感兴趣的:(java框架,springboot,dubbo)