The problem lies in adding the secondary replicas to the primary one. Since the conference documentation, it details the command a user which is rs.add (“m103.mongodb.university:27012”), and the configuration of this host is not specified, therefore the way it resolved this error went like this: rs.add (“localhost: 27012”), rs.add (“localhost: 27013”)
1 Like