SOLVED: Mongodb Error: couldn't connect to server 127.0.0.1:27017 | Couldn't connect to localhost

Published: 28 July 2021
on channel: Tech Coffee Break
6,893
54

Cannot connect to the MongoDB at localhost:27017.
Solve Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: in less than 2 minutes.
MongoDB shell version v4.2.3
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
2020-02-18T23:15:25.465-0800 E QUERY [js] Error: couldn’t connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused :
connect@src/mongo/shell/mongo.js:341:17
@(connect):2:6
2020-02-18T23:15:25.468-0800 F - [main] exception: connect failed
2020-02-18T23:15:25.468-0800 E - [main] exiting with code 1


Watch video SOLVED: Mongodb Error: couldn't connect to server 127.0.0.1:27017 | Couldn't connect to localhost online without registration, duration hours minute second in high quality. This video was added by user Tech Coffee Break 28 July 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,893 once and liked it 54 people.