mongoose connection works, mongo shell connection fails
I can duplicate your issue on my workstation.
If I drop the mongodb://
and instead:
mongo localhost:27017/appname_development
It connects without exception. I'm not confident that using the mongodb
prefix is supported for the command line console. The command line parsing is more simple and follows the very basic Mongo
class constructor (which is host:port
).