Fetching config from server at: http://localhost:8888

      這是因爲, order服務啓動時,會先從eureka中找註冊CONFIG,然後再找gitee配置中的order-test.yml,如果沒找到這到這個註冊,就找默認config端口8888。  所以這裏eureka地址的配置,不應該放到gitee配置中的order-test.yml,而應該外層的yml,如bootstrap.yml   因爲我的config給的端口是8891,不是8888
相關文章
相關標籤/搜索