Answer the question
In order to leave comments, you need to log in
How to run mongodb on windows?
I downloaded mongoDB for win in zip
I placed it in D: \ mongodb I run it
through the console with admin rights. First mongod , then mongo and I get the error:
MongoDB shell version v4.4.3
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gs...
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 :: ����������� �� �����������, �.�. �������� ��������� ������ ������ �� �����������. :
[email protected]/mongo/shell/mongo.js:374:17
@(connect):2:6
exception: connect failed
exiting with code 1
Answer the question
In order to leave comments, you need to log in
The client is throwing an error.
What's on the server?
Is it really running?
Is there a log with the line that the server is running and listening?
As you say that the port is not occupied according to netstat.
Check the server config - is it exactly listening on 27017 and is it listening on 127.0.0.1 and not some default ipv6 thread
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question