I\'m new in nodeJS, started learning by following a trailer on youtube, everything goes well until I added the connect function if mongodb,
mongo.connect(\"m
My case was a little different. After restarting my system, I had not whitelisted my IP address on Mongo while doing local development.
Select Network Access > Add IP Address > Add your current IP Address