-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 3.6.2
-
Component/s: Networking
-
None
-
Environment:Debian Jessie
-
Fully Compatible
-
ALL
-
v3.6
-
Enabling both net.bindIpAll (--bind_ip_all) and net.ipv6 (--ipv6) results in the server failing to start with the following error message:
exception in initAndListen std::exception: listen: Address already in use, terminating
The same thing occurs if specifying --bind_ip 0.0.0.0,:: with the --ipv6 option.
A workaround for this issue is to specify --bind_ip with all IPv4 & IPv6 addresses of the server.
The log output is attached as mongodb-ipv6-bindall-log.txt.