Dubbo官方demo 消费者报错:No provider available for the service
2017-08-20 00:00
1476 查看
首先,先明确一点,官方Demo是没有错的。本地是可以正常运行的。
如果本地运行出现消费者报错:No provider available for the service,那么请按照以下思路进行排查:
1、找到dubbo服务提供者 提供服务的ip地址 (或者 消费者请求服务的ip地址),记为ip1;
2、查一下本地的ip地址,记为ip2;
3、如果ip1和ip2不一致,那么一定是某种原因,导致了dubbo的提供者取错了ip地址。我这里提供一种出错的原因:本地存在虚拟网卡(VMware Network Adapter)。解决方案:将这些虚拟网卡禁用。
4、如果 ip1 和 ip2 一致,就查看一下,dubbo提供者 提供服务的端口,是否可以访问。访问不了,就是端口的问题。可以尝试打开一下对应的端口。
如果本地运行出现消费者报错:No provider available for the service,那么请按照以下思路进行排查:
1、找到dubbo服务提供者 提供服务的ip地址 (或者 消费者请求服务的ip地址),记为ip1;
2、查一下本地的ip地址,记为ip2;
3、如果ip1和ip2不一致,那么一定是某种原因,导致了dubbo的提供者取错了ip地址。我这里提供一种出错的原因:本地存在虚拟网卡(VMware Network Adapter)。解决方案:将这些虚拟网卡禁用。
4、如果 ip1 和 ip2 一致,就查看一下,dubbo提供者 提供服务的端口,是否可以访问。访问不了,就是端口的问题。可以尝试打开一下对应的端口。
相关文章推荐
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- dubbo启动消费者报错:No provider available for the service
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- Dubbo: Failed to check the status of the service . No provider available for the service
- dubbo实战---No provider available for the service
- 有时候出现No provider available for the service dubbo错误
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- Dubbo错误:No provider available for the service
- 【Dubbo】no provider available for the service错误解决方案
- Dubbo client 启动报错:No provider available for the service use dubbo version 2.5.3
- Dubbo错误No provider available for the service
- Dubbo学习笔记:No provider available for the service ...异常问题的解决
- Dubbo:No provider available for the service
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- Failed to check the status of the service. No provider available for the service【已解决】
- The POM for XXX:jar:${com.ld.base.service.version} is missing, no dependency information available
- No provider available from registry 127.0.0.1:2181 for service com.focussend.email.service.EdmTaskS
- dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element