Can mongoDB only allow connections from a specific IP address?

I want to only allow connections to mongoDB from a specific IP.

How to do it?

bind_ip can't help me: http://docs.mongodb.org/v2.4/reference/configuration-options/#bind_ip

+3


source to share


1 answer


Mongo itself does not provide any facility for this as far as I can tell. You will need to restrict incoming IP addresses on the firewall, whether it is on the computer itself or in the network firewall, depending on your setup.



0


source







All Articles