Skip to content

Instantly share code, notes, and snippets.

@NSLog0
Created January 9, 2017 16:39
Show Gist options
  • Save NSLog0/608e9a2c4b877a96fa7c1d93f11dba24 to your computer and use it in GitHub Desktop.
Save NSLog0/608e9a2c4b877a96fa7c1d93f11dba24 to your computer and use it in GitHub Desktop.
$ vim /etc/mongod.conf
# /etc/mongod.conf
# Listen to local and LAN interfaces.
bind_ip = 127.0.0.1
-----------------------------------------
// or allow to connect fron outside server replace <ip-addess> to your IP
bind_ip = 127.0.0.1,<ip-addess>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment