Binding mongo to multiple IPs
Find your mongod.conf - the default is in /usr/local/etc/mongod.conf
Find the line that says
bind_ip = 127.0.0.1
Added as many addresses as you need using commas as a separator - e.g.:
bind_ip = 127.0.0.1,myserverIP
Note you can use DNS names as well.
Written by Angus Mark
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
Related Tags
#mongodb
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#