Skip to content

an issue with Spring Cloud Config Server when fetching an update from the repository unless the default port is used #9

@hazartilirot

Description

@hazartilirot

Here is a part of my application.yml

spring:
  config:
    import: optional:configserver:http://localhost:8012

The thing is whenever I start running microservices I see in the console how it cannot initially find the server at the default port falling back to the 8012 port. However, once I push changes to my git repository, Spring Cloud Config Service fetches those changes re-running all microservices. For no reason they just don't want to connect to the server at 8012 port again. I just failed to find the obstacle. Once I changed the settings to the default port which is 8888 - everything works as expected!

spring:
  config:
    import: optional:configserver:http://localhost:8888

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions