Connection refused with Consul

113 views
Skip to first unread message

Kevin Imbrechts

unread,
Oct 29, 2019, 12:05:11 PM10/29/19
to CAS Community
Hi there !

I am trying to configure CAS 5.3.10 (Docker) with Consul (docker), but I have this error :

Connect to localhost:8500 [localhost/127.0.0.1] failed: Connection refused (Connection refused)

This is very strange because I have configured cas.properties file like this :

spring.cloud.consul.port=443
spring.cloud.consul.enabled=true
spring.cloud.consul.host=consul.mydomain.fr

spring.cloud.consul.config.enabled=true
spring.cloud.consul.config.prefix=prod/cas/config
spring.cloud.consul.config.defaultContext=apps
spring.cloud.consul.config.profileSeparator=::

spring.cloud.consul.config.watch.delay=1000
spring.cloud.consul.config.watch.enabled=false


What I have wrong ?
Reply all
Reply to author
Forward
0 new messages