Jump to content
Phishing Emails & YouTube Messages - Fake Giveaway Read more... ×
Search In
  • More options...
Find results that contain...
Find results in...

MongoDB what is this bindIP for?

Recommended Posts

Posted · Original PosterOP

I have no clue what this config is for.

  port: 27017

all it says: To allow remote connections, we will add our host's publically-routable IP address to the mongod.conf file.

what do they mean by "host's publically-routable IP address"?

I'm using a Ubuntu server with golang and mongodb on it (for development) and not sure what this bindIP is for. Does it prevent access for everyone except the localhost?

I'm here because Stackoverflow is trash.  ¯\_(ツ)_/¯

Link to post
Share on other sites

It is for when your system has multiple nerwork interfaces thus multiple ips assigned to the host.



                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now