Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
2.4.8
-
Debian squeeze / Debian wheezy
-
Linux
-
- create server, configure bind_ip to be an IPv6 address, set ipv6 = true in config
- connect to mongo shell, create replica set configuration with ipv6 addresses and ports
Description
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.
Attachments
Issue Links
- duplicates
-
SERVER-5436 IPv6 address ambiguity in HostPort syntax
-
- Closed
-
- is related to
-
SERVER-9612 Mongos not parsing correctly IPV6 address
-
- Closed
-