Solution:
1. Change the configuration: conf:
bind_ip:0.0.0.0
Just
restart the mongod.conf service
bin/mongod -f conf/mongod.conf --shutdown
bin/mongod -f conf/mongod.conf
Enter the client
bin/mongo localhost:12345
The running code is as follows: the
above problem has been solved.
Can connect to Navicat