kylixs commented on issue #8225:
URL: https://github.com/apache/dubbo/issues/8225#issuecomment-875579364


   > 目前发现DubboReference注解中不增加URL并指定IP和端口,消费端就无法访问生产端。提示生产端不存在或是列入了黑名单
   
   如果不指定url时提示找不到provider,应该是服务注册订阅存在问题,或者是interface/group/version没有全部匹配上。
   
   请参考Dubbo reference文档描述,如果指定了url则表示直接连接provider,如果不指定url则是从注册中心获取provider地址列表。
   
https://dubbo.apache.org/zh/docs/v3.0/references/configuration/references/xml/dubbo-reference/
   > 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性
   > -- | -- | -- | -- | -- | -- | -- | --
   > url | url | string | 可选 |   | 服务治理 | 点对点直连服务提供者地址,将绕过注册中心
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to