mojira.dev
MC-212438

IPv4 preferred over IPv6

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.

Related issues

Comments

wobst.michael

-Djava.net.preferIPv6Addresses=true sort of fixes this. Ideally Minecraft would do AAAA then A out of the box.

Adrian Östergård

This is a feature request.

migrated

Are you going to implementing it then?

 

ziggurism

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

migrated

(Unassigned)

Confirmed

(Unassigned)

ipv6

1.16.5

Retrieved