© 2026 Hedgehog Software, LLC
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-vault-config</artifactId> </dependency>
server: port: 8888 encrypt: key: my-secret-key spring: application: name: config-server cloud: config: server: git: uri: GIT_CONFIG_URI default-label: main username: GIT_USERNAME password: GIT_PASSWORD clone-on-start: true vault: host: IP_ADDRESS port: 8200 scheme: http token: {token} backend: secret-engine kvVersion: 2 default-key: datasource-rdms eureka: client: service-url: defaultZone: http://localhost:8761/eureka/ fetch-registry: true register-with-eureka: true management: endpoints: web: exposure: include: health,info endpoint: health: show-details: always
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to http://127.0.0.1:8200 [/127.0.0.1] failed: Connection refused: getsockopt
Join the Discord to ask follow-up questions and connect with the community
We are a Community full of Java developers. Connect with other devs, get help, help others and do much more!
27,739 Members