Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

I can't realize why server stops right after trying to be up in this application in spring boot

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Controller:



DBSettings:






application.yml:





And pom.xml:




AND IT SAYS In the Output console -

Fetching config from server at : http://localhost:8888
Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available
Connection refused; nested exception is java.net.ConnectException: Connection refused
No active profile set, falling back to default profiles: default
BeanFactory id=df05c0da-c19c-37a2-80fc-f40bd3bded3e
Started JetbrainsSpringConfigClientApplication in 1.993 seconds (JVM running for 2.913
 
Saloon Keeper
Posts: 11881
253
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks to me like you aren't running a Config Server. See the documentations here: https://cloud.spring.io/spring-cloud-config/reference/html/#_spring_cloud_config_server
 
Zobair Imran
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well! Thanks Hulst! I'll check it !
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic