Answers for "MongoDB WSL[js] Error: couldnt connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused"

0

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 :

sudo service mongodb start
Posted by: Guest on January-11-2021
0

Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed

systemctl enable  mongod
systemctl start  mongod

#reboot your machine

mongo
Posted by: Guest on May-28-2021

Code answers related to "MongoDB WSL[js] Error: couldnt connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused"

Browse Popular Code Answers by Language