SpringCloud注册发现配置
spring:
cloud:
discovery:
enabled: true
service-registry:
auto-registration:
enabled: true
zookeeper:
connect-string: #zk-address#
discovery:
prefer-ip-address: true
inetutils:
preferred-networks:
- ^192.+