SpringCloud Eureka配置问题

时间:2018-11-28 23:39:25   收藏:0   阅读:1263
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 的依赖。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!