审查视图

config/bootstrap.yml 190 字节
1
# 解决eureka的多网卡配置问题,指定网卡的IP地址的前缀
2 3 4 5 6 7 8
spring:
  cloud:
    inetutils:
      preferred-networks: 192.168.1.
eureka:
  instance:
    prefer-ip-address: true