When Minecraft connects to a server using a domain name it will connect to IPv4 address even when a IPv6 address is available. Minecraft works with IPv6. This prevents servers from going dual stack.
Linked issues
is duplicated by 2
relates to 2
Comments 4
This issue also has a discussion at reddit where there is disagreement whether Michael Wobst's solution of setting -Djava.net.preferIPv6Addresses=true
is a fix,that will break in the same way for IPv4-only hosts, with a link to the jdk discussion at the JDK bugtracker
-Djava.net.preferIPv6Addresses=true
sort of fixes this. Ideally Minecraft would doAAAA
thenA
out of the box.