So recently my DO droplet was reset due to some creation problem in the NYC1 area. My droplet was running count.ly (an analytics software) and now it gives me this error:
500 Error: failed to connect to [localhost:27017]
at null. (/root/countly/frontend/express/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/server.js:569:74)
at EventEmitter.emit (events.js:106:17)
at null. (/root/countly/frontend/express/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:139:15)
at EventEmitter.emit (events.js:98:17)
at Socket. (/root/countly/frontend/express/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection.js:475:10)
at Socket.EventEmitter.emit (events.js:95:17)
at process._tickCallback (node.js:415:13)
How can I fix this? Any help is appreciated!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.