Skip to main content
 首页 » 编程设计

SpringCloud之eureka 配置

2022年07月18日160JeffreyZhao

server:
  port: 8761
  security:
user:
name: admin
password: admin
basic:
enabled: true
eureka:
instance:
hostname: localhost
server:
#enable-self-preservation: false
client:
register-with-eureka: false
fetch-registry: false
serviceUrl:
defaultZone: http://192.168.1.156:${server.port}/eureka


本文参考链接:https://www.cnblogs.com/maohuidong/p/9837690.html