According to Microsoft , by default, even in dual-stack mode, the IPV6_V6ONLY parameter is set to false - but you can enable it by calling setsockopt (2). FWIW, "Old versions" of Windows (single-stack) include the still widely used Windows XP (something more than Vista).
So, if you're on Windows, you should try disabling IPV6_V6ONLY and see if it succeeds. I don't know if this is a good answer for other implementations of the same stack or not.
source
share