Reputation: 10319
I want to allow connections to mongoDB only from a specific IP.
How to do it?
The bind_ip can not help me: http://docs.mongodb.org/v2.4/reference/configuration-options/#bind_ip
Upvotes: 4
Views: 3616
Reputation: 613
Mongo itself doesn't provide any facility for this as far as I can tell. You will need to restrict the incoming IP addresses at the firewall, either on the machine itself or the network's firewall depending on your setup.
Upvotes: 1