MongoDB
Created by Codedamn about a year ago
No description provided
7 Comments
Cannot connect to the MongoDB at localhost:27017.
Error: Network is unreachable. Reason: couldn't connect to server localhost:27017, connection attempt failed: SocketException: Error connecting to localhost:27017 (127.0.0.1:27017) :: caused by :: Connection refused I am getting an error like this. What should I do?
This content was deleted by the author
excited
Linux/MacOS guys, you need to first install the mongoDB community edition first and run the server, before establishing a new connection. Just install with the steps given below in the link and don't forget to run the server through the terminal. https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition
can also use mongoDB compass as GUI tool
Community server - https://www.mongodb.com/try/download/community
Robomongo software - https://robomongo.org/