yml

 

eureka:
  client:
    fetch-registry: true
    register-with-eureka: true
    service-url:
      defaultZone: http://eureka7002.com:7002/eureka/,http://eureka7001.com:7001/eureka/
  instance:
    instance-id: payment8002
    prefer-ip-address: true

 

 

效果

修改eureka中的微服务的实例名称

 

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2021-09-11
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
猜你喜欢
  • 2021-05-18
  • 2022-01-23
  • 2021-08-16
  • 2021-07-23
  • 2021-09-25
  • 2022-12-23
相关资源
相似解决方案