Error in connection with MongoDB

This is the method i have tried to implement the MongoDB.
it shows the error as
"MongoError: failed to connect to server [] on first connect [MongoError: connect ECONNREFUSED]"

I cannot connect to MongoDB to store the tweets.
Help me with this.
Thank you.

If you google the error message it will tell you that there are several different reasons for that error. You will have to work through them until you find the one you are hitting.

Okay, Thanks.

Hi, I have the same issue, but google not have solution about node-red, did you solve it?