Unable to configure replica set

Sounds like you are using localhost as a hostname for a replica hostname.

The error is telling you all members must be localhost(like a testbed on your local machine) if it sees any member with localhost as the hostname.

You need to use the addressable hostname that the other nodes(and clients) can access the host on.

1 Like