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