server:
eureka:
client:
register-with-eureka: false
fetch-registry: false
server:
wait-time-in-ms-when-sync-empty: 5
server:
port: 8761
register-with-eureka: false 不要将自己注册到euraka
fetch-registry: false 不要去缓存已注册的服务
wait-time-in-ms-when-sync-empty: 5 启动后多少时间之后再接受请求
常用地址
- 查看注册状态
http://localhost:8000/
- 查询某个server的信息
http://localhost:8000/eureka/apps
http://localhost:8000/eureka/apps/SERVICENAME
- 服务注册地址
http://localhost:8000/eureka
网友评论