Commit d9b97ac7aab75371d1e211434128e916714748c6

Authored by luotong
1 parent 637d13bf

修改instanceId配置

Showing 1 changed file with 1 additions and 1 deletions
user-service.yml
... ... @@ -51,7 +51,7 @@ eureka:
51 51 instance:
52 52 hostname: user-service
53 53 perferIpAddress: true
54   - instance-id: ${spring.application.name}:${spring.cloud.client.ipAddress}:${server.port}
  54 + instance-id: ${spring.cloud.client.ipAddress}:${server.port}
55 55 leaseRenewalIntervalInSeconds: 5
56 56 leaseExpirationDurationInSeconds: 15
57 57 client:
... ...