11.05.2015 - You aren't providing a port while connecting to the database. Example: mongoose.connect('mongodb://localhost:27017/todoApp');..