A. check whether the service is started first. If the service is not started, start the service first: Net stat mongodb
B. if the service has been started, it may be that Mongo was shut down abnormally last time, resulting in the file storing data being occupied and locked. Just add the mongod.lock The file is deleted. Restart the service net stat mongodb.
Read More:
- Spring boot integrates Mongo to solve some common connection and permission problems. Docker compose installs Mongo
- Mongodb uses Mongo to report error: could’t connect to server 127.0.0.1:27017, connection attempt failed: socket
- Mongo connection remote address error
- mongo Failed to instantiate *** constructor NO_CONSTRUCTOR with arguments
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect EC
- ./src/router/index.js Module not found: Error: Can‘t resolve ‘@/views/tet_demo‘ in ‘D:\admin\src\rou
- Error: could’t connect to server 127.0.0.1:27017, connection attempt failed
- node.js Server MySQL database connection timeout (error: connect etimeout)
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- The server just without updating PID file and can’t connect to local MySQL server through socket are solved
- This relative module was not found: * ./store in ./src/main.js
- Module build failed (from ./node_modules/postcss-loader/src/index.js):
- ./src/App.js Line 13:11: Parsing error: Unterminated JSX contents (react)
- Failed to connect to Mir:Failed to connect to server socket:No such file or directory
- ERROR 2002 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
- MongoNetworkError: failed to connect to server [localhost:27017]
- ERROR in ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js!./src/css/spec
- Video JS can’t play the prompt( CODE:4 MEDIA_ ERR_ SRC_ NOT_ SUPPORTED) No compatible source was found for this video.
- The Linux version of todesk cannot connect to the server