This error occurs when the MongoDB service is not running on the mac. When I start the MongoDB server in mac os then this error occurred “failed to connect to localhost”. Read: Create tables in MongoDB MongoDB failed to connect to localhost 27017 mac This way you can easily start the server and resolve the problem when your system failed to connect to the MongoDB server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |