Mongodb uses Mongo to report an error:
connecting to: mongodb://127.0.0.1 :27017/?compressors=disabled&gssapiServiceName=mongodb
2019-07-18T15:02:35.529+0800 E QUERY [js] 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 :: ����Ŀ�����������ܾ��������ӡ� :
connect@src/mongo/shell/mongo.js : 342:17 code>
there is a connection error when you enter Mongo on the command line
Solution:
Enter in the command line mongod.exe --dbpath E:\MongoDB\data\db
Among them, e:
do not close the CMD window, open a new CMD window again, and enter the Mongo command:
to open mongodb
Read More:
- Error: could’t connect to server 127.0.0.1:27017, connection attempt failed
- Error: could’t connect to server 127.0.0.1:27017 Src / Mongo / shell/ mongo.js
- The mongoDB service failed to start (exception: connect failed)
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused
- Spring boot integrates Mongo to solve some common connection and permission problems. Docker compose installs Mongo
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect EC
- RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
- Failed to connect to Mir:Failed to connect to server socket:No such file or directory
- PHP under linux uses pdo-dblib to connect to mssql to report an error solution. Error message: SQLSTATE[01002] Adaptive Server connection failed (severity 9)
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- error:Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused;error:couldn‘t ….
- MongoDB:Failed: error connecting to db server: no reachable servers
- The server just without updating PID file and can’t connect to local MySQL server through socket are solved
- Mongodb connection authentication auth failed solution
- Window installation of MongoDB exception: connect failed exception
- [Solved] failed to connect to server, reason: Unable to establish connection
- Mongodb caused 127.0.0.1:27017 unable to connect
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- Mongodb failed to start: child process failed, exited with error number 100
- MongoDB Error: Failed to start mongod.service: Unit mongodb.service is masked