在bootstrap.yml中添加
eureka: client: service-url: defaultZone: http://172.30.243.192:8761/eureka instance: preferIpAddress: true
即可
在bootstrap.yml中添加
eureka: client: service-url: defaultZone: http://172.30.243.192:8761/eureka instance: preferIpAddress: true
即可