I have installed mongo on machine1(Ubuntu 14.04.3 LTS server) in my local network. I have also opened the port 27017 as mentioned in this guide using f
Ubuntu 14.04.3 LTS server
27017
The issue was bindIp didn't change. There was some issue in restarting mongo from my side.
bindIp
The habit should be to verify if the bindIp actually changed or not. (using sudo netstat -tulpn | grep 27017)
sudo netstat -tulpn | grep 27017