Make sure MongoDB server is running and listening the port 27017 using netstat command
~ netstat -an | grep 27017
tcp4 0 0 *.27017 *.* LISTEN
Make sure MongoDB server is running and listening the port 27017 using netstat command
~ netstat -an | grep 27017
tcp4 0 0 *.27017 *.* LISTEN