Unable to connect to server 127.0.0.1:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017.

MongoDB is a lightweight database which can be widely used in NodeJs applications to store and retrieve data. If you are facing this error, the follow the steps and you will be able to run your MongoDB on your system. If you are facing this type of problem in Windows 8, then you do only … More Unable to connect to server 127.0.0.1:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017.