|
I have clean servers that should run on ipv6 only. I have enabled ipv6 in config as follows:
ipv6 = true
|
bind_ip = 2a01:2a01:2a01:2a01::2
|
port = 63333
|
now I try to create a replica set as follows:
> config = {
|
_id: "rs0",
|
members:[
|
{_id: 0, host: "[2a01:2a01:2a01:2a01::2]:63333"},
|
{_id: 1, host: "[2a01:2a01:2a01:2a01::3]:63333"},
|
{_id: 2, host: "[2a01:2a01:2a01:2a01::4]:63333"}
|
]}
|
> rs.initiate(config)
|
{
|
"ok" : 0,
|
"errmsg" : "couldn't initiate : can't find self in the replset config my port: 63333"
|
}
|
I don't want to use DNS ans I don't want to use /etc/hosts.
|