No connection could be made because the target machine actively refused it. when I am connecting to a mongodb server locally it's just showing a error you have seen above any body know the solution
Asked
Active
Viewed 78 times
0
-
does this answer solves your problem https://stackoverflow.com/questions/23726684/mongodb-on-a-windows-7-machine-no-connection-could-be-made) – Ishan Bassi Sep 10 '21 at 16:35
-
That error means there is nothing listening on the port you are trying to connect to. Make sure the mongod is running, and make sure you are connecting to the port it is listening on. – Joe Sep 11 '21 at 03:50