Error in connection with MongoDB

#1

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

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

0 Likes

#2

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.

0 Likes

#3

Okay, Thanks.

0 Likes