DiscoveryClient_UNKNOWN/DESKTOP-8S3CENH:1111 - was unable to send heartbeat!

apollo和eureka client一起使用,发现一个问题

 

apollo和eureka配置如下,如果不把注释地方打开就会有报错出现

server:
  port: 1111

app:
  id : apollo-test

apollo:
  meta: http://127.0.0.1:8080

#eureka:
#  client:
#    register-with-eureka: false
#    fetch-registry: false

启动报错

DiscoveryClient_UNKNOWN/DESKTOP-8S3CENH:1111 - was unable to send heartbeat!

DiscoveryClient_UNKNOWN/DESKTOP-8S3CENH:1111 - was unable to send heartbeat!_第1张图片

 注意:因为eureka默认是为true,所以会一直不停的报错

你可能感兴趣的:(apollo,#,apollo,eureka)