on-internet
← Community

Could not locate PropertySource because of java.net.ConnectException: Connection refused

Stack Overflow ·

I created a docker image and pushed it to docker hub. Now, I am trying to run it on a remote machine by using docker-compose and I get the following error. java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing my-test_1 | at org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate(ConfigServicePropertySourceLocator.java:132) my-test_1 | at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:93) my-test_1 | at org.springframework.boot.Sp

Comments

Sign in or sign up to comment and upvote.

No comments yet.