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)?
你是救世主!謝謝 –