bydongxing commented on issue #6251:
URL: 
https://github.com/apache/incubator-seata/issues/6251#issuecomment-1909176730

   > please debug this line
   > 
   > ```
   > String preferredNetworks = 
ConfigurationFactory.getInstance().getConfig(REGISTRY_PREFERED_NETWORKS);
   >             if (StringUtils.isNotBlank(preferredNetworks)) {
   >                 
XID.setIpAddress(NetUtil.getLocalIp(preferredNetworks.split(REGEX_SPLIT_CHAR)));
   >             } else {
   >                 XID.setIpAddress(NetUtil.getLocalIp());
   >             }
   > ```
   > 
   > it seems need to
   > 
   > ```
   > String REGISTRY_PREFERED_NETWORKS = ConfigurationKeys.FILE_ROOT_REGISTRY + 
".preferredNetworks";
   > ```
   > 
   > not preferred-networks
   
   我在这边打断点,好像并没有调用这个方法呢?
   ![CleanShot 2024-01-25 at 09 02 
58](https://github.com/apache/incubator-seata/assets/32316182/5f0b2375-2735-4222-a90b-1a5d6db01c83)
   
   


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