Error: couldn’t connect to server 127.0.0.1:27017

What are the eight life cycle hook functions of Vue>>>

Mongodb has been installed and the service has been started. Enter Mongo and report an error: could’t connect to server 127.0.0.1:27017 or this address: 0.0.0.0 27017

Solution: This is related to the configuration in router.conf. The parameter net.port = 27017 is the port number of the access. The value after net.bindip is the host name of the access. If you write localhost or host name, the access mode is Mongo localhost:27017 Or Mongo host name: port

Similar Posts: