You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "ljluestc (via GitHub)" <gi...@apache.org> on 2023/07/04 17:55:59 UTC

[GitHub] [dubbo] ljluestc commented on issue #7666: dubbo注册服务和cloud服务如何在nacos上区分开?

ljluestc commented on issue #7666:
URL: https://github.com/apache/dubbo/issues/7666#issuecomment-1620584333

   To specify the internal network segment of the container for Dubbo consumption, you can try the following methods:
   
   In the configuration of the Dubbo consumer side, set the Dubbo registration address to the internal network segment (Pod IP address) of the container instead of the load balancing IP address. In this way, the consumer will directly access the Dubbo service inside the container.
   
   If you are using Spring Cloud Alibaba's Nacos as the registration center, you can try to set the registration address of the Dubbo service to the internal network segment of the container in the registration configuration of Nacos.
   
   After this configuration, the consumer of Dubbo will directly access the Dubbo service inside the container without going through the load balancing service.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org