Closed athuldevin closed 6 years ago
you need to have a working mongod instance in your system ( or some remote mongodb server)
@athuldevin Try the solution posted here: https://stackoverflow.com/questions/26585433/mongodb-failed-to-connect-to-127-0-0-127017-reason-errno10061
"" return self.start_session(causal_consistency=False) File "C:\python36\lib\site-packages\pymongo\mongo_client.py", line 1369, in start_session server_session = self._get_server_session() File "C:\python36\lib\site-packages\pymongo\mongo_client.py", line 1377, in _get_server_session return self._topology.get_server_session() File "C:\python36\lib\site-packages\pymongo\topology.py", line 416, in get_server_session None) File "C:\python36\lib\site-packages\pymongo\topology.py", line 199, in _select_servers_loop self._error_message(selector)) pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [WinError 10061] No connection could be made because the target machine actively refused it""
this error is shown in python.
ee command ""mongorestore --drop --db=iky-ai --dir=dump/iky-ai/"" evideyane upayogikkendathe , njan try cheydhu varkke aakunnilla
On windows system.