Skip to content

No suitable servers found (serverSelectionTryOnce set): [connection refused calling ismaster on 'localhost:27017'] #2174

Answered by divine
abdrozak20 asked this question in Q&A
Discussion options

You must be logged in to vote

This has nothing to do with this library. You've error that connection is refused.

Double-check that your MongoDB is accessible at that address.

Thanks!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@abdrozak20
Comment options

@Smolevich
Comment options

Answer selected by divine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants