6
我已通过chaning其.conf文件重新启动非标准端口上的2个分片。现在,当我通过蒙戈连接,并发出listshards我得到:mongodb重新配置分片端口
mongos> db.runCommand({ listshards : 1 });
Tue Oct 23 17:36:21 uncaught exception: error {
"$err" : "error creating initial database config information :: caused by :: socket exception [CONNECT_ERROR] for vserver-dev-2:37017",
"code" : 11002
}
(37017是老港)。 如何更新路由器上的分片端口(mongos)?
你是救世主!谢谢 –