Answers for "connect ECONNREFUSED 127.0.0.1:27017"

1

connect ECONNREFUSED 127.0.0.1:27017

For windows - just go to Mongodb folder (ex : C:\ProgramFiles\MongoDB\Server\3.4\bin) and open cmd in the folder and type "mongod.exe --dbpath c:\data\db"

if c:\data\db folder doesn't exist then create it by yourself and run above command again.

All should work fine by now.))

Source stackoverflow
Posted by: Guest on June-09-2021
2

Connection error: connect ECONNREFUSED 127.0.0.1:5432

database system is ready to accept connections
Posted by: Guest on March-27-2021
0

connect ECONNREFUSED 127.0.0.1:27017

1.  Go to Control Panel and click on Administrative Tools.
  2.  Double click on Services. A new window opens up.
  3.  Search MongoDB.exe. Right click on it and select Start.
Posted by: Guest on October-15-2021

Code answers related to "connect ECONNREFUSED 127.0.0.1:27017"

Browse Popular Code Answers by Language