SpringCloud Greenwich.SR1使用IP注册到eureka
原创 ren_xian 发表于:2020-04-13 16:33:59
  阅读 :110   收藏   编辑

eureka:
  instance:
    prefer-ip-address: true
    instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}