这是我的设置
mongo 3.4 on local
mongo 3.7 on docker
both on 27017
mongo shell和mongorestore连接到另一个数据库。为什么?
这是步骤
mongo shell from host connects to 3.4
mongorestore from host connects to 3.7
shutdown docker
mongorestore from host connects to 3.4
我希望至少有一些端口冲突,不是吗?