You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/12/16 08:31:08 UTC

[GitHub] [dubbo] AriesMg commented on issue #11141: DUBBO_IP_TO_REGISTRY怎么动态指定

AriesMg commented on issue #11141:
URL: https://github.com/apache/dubbo/issues/11141#issuecomment-1354384887

   如果服务都能在容器内部,不用host就行,只是目前的现状是有些服务在容器集群内部,有些是外部,涉及到内外互访的问题所以必须这么搞。我提问题的原因是,现在dubbo3.1.3获取本机ip的方法很奇怪,有的机器获取的是机器的vip,有的机器获取的是机器上一个docker0的网卡的IP,相当大一部分即使采取host模式也不能正确获取ip,我现在的办法是通过设置偏好网卡dubbo.network.interface.preferred=eth0这种形式,暂时解决了host模式下的部署问题


-- 
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