errmsg“ : ”No host described in new configuration 1 for replica set rs0 maps to this node", Why I am getting this message?

前端 未结 2 1335
别跟我提以往
别跟我提以往 2021-02-19 22:34

I am getting this message every time I do rs.initiate() :

No host described in new configuration 1 for replica set rs0 maps to this node

2条回答
  •  情深已故
    2021-02-19 23:37

    Looks like the port is wrong. The default port of MongoDB is 27017, not 27071.

提交回复
热议问题