@ -24,7 +24,7 @@ eureka:
prefer-ip-address: true
#定制化在eurika中显示的名称
##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
instance-id: ${spring.cloud.client.ipAddress}:${server.port}}
instance-id: ${spring.cloud.client.ipAddress}:${server.port}