Progr1mmer 6 年之前
父节点
当前提交
499f6142dd
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      component/svr-configuration/src/main/resources/application.yml

+ 1 - 0
component/svr-configuration/src/main/resources/application.yml

@ -19,5 +19,6 @@ eureka:
  instance:
    #eurika使用IP不使用host
    prefer-ip-address: true
    instance-id: ${spring.cloud.client.ipAddress}:${server.port}