You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Spring Boot Web Starter 1.2.4.RELEASE/1.3.0.M1 with Consul 1.0.0.M1 (with consul config). I am able to configure consul host/port in registry using the below configuration in bootstrap.yml
cloud:
consul:
config:
host: 127.0.0.1
port: 8500
However, when I'm trying to write a client and change consul host port using the same above configurations in bootstrap.yml it doesn't seem to be picking it up. It still looks for consul at localhost:8500
The text was updated successfully, but these errors were encountered:
For some reason, in your sample project, src/main/resources isn't on the classpath. When I added it manually, it worked properly. If you look at target/classes you'll see that *.yml isn't there. It wasn't picked up by my IDE either.
I'm using Spring Boot Web Starter 1.2.4.RELEASE/1.3.0.M1 with Consul 1.0.0.M1 (with consul config). I am able to configure consul host/port in registry using the below configuration in bootstrap.yml
However, when I'm trying to write a client and change consul host port using the same above configurations in bootstrap.yml it doesn't seem to be picking it up. It still looks for consul at localhost:8500
The text was updated successfully, but these errors were encountered: