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

前端 未结 2 1901
南笙
南笙 2021-02-19 22:45

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:20

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

提交回复
热议问题