ipv4 is accepted as well as hostnames. The problem is also that the syntax cannot cope with the ip6 spec. According to Wikipedia and StackOverflow, the following must be written and accepted E.g. a localhost address ::1 must then be written as [::1]:27017. So a url can then be specified as mongodb://[::1]:27017.
The Server class also needs a change here and there to cope with ipv6 but that will be small
ipv4 is accepted as well as hostnames. The problem is also that the syntax cannot cope with the ip6 spec. According to Wikipedia and StackOverflow, the following must be written and accepted E.g. a localhost address
::1
must then be written as[::1]:27017
. So a url can then be specified asmongodb://[::1]:27017
.The Server class also needs a change here and there to cope with ipv6 but that will be small