SpringCloud+nacos怎么部署在多ip环境下统一nacos服务注册ip


SpringCloud+nacosipnacosipSpringCoudnacosipipspringcloudbootstrap.yml
ipapplication.properties
ip
spring.cloud.nacos.discovery.ip = 127.0.0.1
spring.cloud.nacos.discovery.port = 8989spring.cloud.inetutils.preferred-networks=10.25.14
10.25.14ip10.25.14.12,10.25.14.13.spring.cloud.nacos.discovery.networkInterface = eth0ABNacospostmanBAAIPBIPIPIPNacosIPIPIPIPSpringCloudSometimes, it is useful to ignore certain named network interfaces so that they can 免费云主机域名be excluded from Service Discovery registration (for example, when running in a Docker container). A list of regular expressions can be set to cause the desired network interfaces to be ignored.
You can also force the use of only specified network addresses by using a list of regular expressions.IPIPIPpreferredNetworksIPNacosIPIPNacosipnetworkInterfaceIPnetworkInterfaceIPinetUtils.findFirstNonLoopbackHostInfo().getIpAddress()IPfindFirstNonLoopbackHostInfo()IPV4(127.0.0.0-127.255.255.255)preferredNetworksSpringCloud+nacosipnacosip

相关推荐: html5标志性属性能不能省略

这篇文章主要介绍了html5标志性属性能不能省略的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇html5标志性属性能不能省略文章都会有所收获,下面我们一起来看看吧。 html5标志性属性不能省略,若省略了就等同于没有设置该属性;但…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

(0)
打赏 微信扫一扫 微信扫一扫
上一篇 06/14 22:52
下一篇 06/15 10:37

相关推荐