dubbo service找不到报错 No provider available for the service dubbo 异常Please check registry access list..

dubbo启动消费者报错:No provider available for the service

网上的解决方案:https://blog.csdn.net/du5006150054/article/details/81428605

☆新加一条详细的解决方案:

以下是新加了group之后的,因为服务是分组的!

另外,引出新的报错:

“dubbo 异常Please check registry access list (whitelist/blacklist)”

“Forbid consumer " +  NetUtils.getLocalHost() + " access service " + getInterface().getName() + " from registry " + getUrl().getAddress() + " use dubbo version " + Version.getVersion() + ", Please check registry access list (whitelist/blacklist)”

“Forbid consumer 192.xx.xx.1 access service com.xx.xx.xx.rpc.api.xx from registry 116.xx1”

网上的解决方案(分析的很详细):https://blog.csdn.net/zzm628/article/details/53508974

☆我的错误原因:

    当上面的provider服务找不到时候,我在consumer的dubbo:reference中添加了check=false,即在开发启动时不检测(关注)provider提供的服务是否已经注册。把check=false去掉