配置文件:
启动成功spring:
application:
name: serviecOder
server:
port: 8082
eureka:
instance:
prefer-ip-address: true
hostname: localhost
client:
register-with-eureka: true
fetch-registry: true
serviceUrl:
defaultZone: http://localhost:8761/eureka/
网友评论