Skip to content

Instantly share code, notes, and snippets.

@cristopher-rodrigues
Created December 11, 2015 20:27
Show Gist options
  • Save cristopher-rodrigues/f62d81c77dbccb89eaa6 to your computer and use it in GitHub Desktop.
Save cristopher-rodrigues/f62d81c77dbccb89eaa6 to your computer and use it in GitHub Desktop.
mongo open host

check UFW status

ufw status

OPEN 22

ufw allow 22

UFW ENABLE

ufw enable

OPEN TO HOST

ufw allow from host to any port 27017

BIND Wever

nano /etc/mongod.conf
# PUT> bind 0.0.0.0

TEST

telnet mongoHOST 27017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment