SpringCloud Eureka配置问题

1、后台一直打印:

  2018-11-28 21:50:49.889 INFO 9108 --- [on(4)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:8888
2018-11-28 21:50:49.904 INFO 9108 --- [on(2)-127.0.0.1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 15 ms
2018-11-28 21:50:50.929 INFO 9108 --- [on(4)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator : Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available
2018-11-28 21:50:50.929 WARN 9108 --- [on(4)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/microcloud-eureka-7001/default": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect

注意这句:“Fetching config from server at : http://localhost:8888”;config特么是springcloud config报的错,还没配置config呢,只是因为添加maven依赖时加了springclould 的依赖。

2、eureka客户端无法连接上服务端(springcloud Finchley版本)

需要关闭在请求“/eureka/**” 上的CSRF token。
SpringCloud Eureka配置问题

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章