• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Configure mongodb to work on cloud foundry?  RSS feed

 
Jesse Zho
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I currently using java, springboot, and mongodb. My mongo db is configured in a way that it would run locally. But when I package it into a jar and push it to cloud foundry. IT would not establish a connection because my mongodb is local. What do I have to do to make cloud foundry make a connection with mongodb?
 
Knute Snortum
Sheriff
Posts: 4279
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With your local database?  I would think you would have to open your DB to the Internet.
 
Jesse Zho
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Knute No, I meant to say how to configure mongodb on cloud foundry. Not local.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!