小编wen*_*yan的帖子

Spring Cloud Config Client:从错误的服务器获取配置

当我运行我的 Spring Cloud Config Client 项目 config-client 时,我发现了这些错误:

2018-02-09 10:31:09.885  INFO 13933 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8888
2018-02-09 10:31:10.022  WARN 13933 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/config-client/dev/master": ???? (Connection refused); nested exception is java.net.ConnectException: ???? (Connection refused)
2018-02-09 10:31:10.026  INFO 13933 --- [           main] c.y.c.ConfigClientApplication            : No active profile set, falling back to default profiles: default
2018-02-09 10:31:10.040  INFO 13933 --- [           main] ationConfigEmbeddedWebApplicationContext …
Run Code Online (Sandbox Code Playgroud)

spring-cloud-config

8
推荐指数
2
解决办法
8449
查看次数

标签 统计

spring-cloud-config ×1