Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.5, Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 1.7.4, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w10b, Minecraft 14w10c, Minecraft 1.7.9, Minecraft 1.7.10, Minecraft 1.8-pre1, Minecraft 1.8.8, Minecraft 15w36d
    • Fix Version/s: Minecraft 15w46a
    • Environment:

      Windows 7, Linux, probably Mac as well, Java 32/64-bit, official launcher

    • Confirmation Status:
      Plausible

      Description

      This bug/flaw is by design. The Minecraft launcher disables IPv6 (by setting "java.net.preferIPv4Stack" to true). The only workarounds for this are to use a 3rd party launcher or to modify the official one.

      ------------------------------------------------------------------------

      This appears to be a problem with the Minecraft launcher, rather than the minecraft.jar file itself. The launcher sets the "java.net.preferIPv4Stack" property to true and the "java.net.preferIPv6Addresses" to false, prohibiting the use of IPv6 on systems configured as described. Adjusting these two properties should fix the problem.

      If Minecraft is started with a 3rd party launcher (such as MultiMC) that doesn't modify these properties as above, it operates correctly.

      ------------------------------------------------------------------------

      Since the new multiplayer interface, Minecraft no longer works for me when using IPv6.

      My home network is configured using IPv6, while Internet is only IPv4. Each system has a statically assigned IPv6 address in the unique unicast range fc00::/7. Hostnames have been added for these addresses to each system's hosts file.

      What I expected to happen was...:
      I should be able to connect to local IPv6 servers.

      What actually happened was...:
      IPv6 hostnames fail to resolve. IPv4 hostnames in the hosts file do resolve.
      A fix in 1.4.5 allows IPv6 addresses to be used, but they fail to connect with the error "Protocol family unavailable".

      Steps to Reproduce:
      1. Add a server or direct connect using a hostname that resolves only to IPv6 or using an IPv6 address ([::1] or [fc00::1]).
      2. Try to connect.

      This may require limiting Internet to only use IPv4. I don't have access to IPv6 Internet, or I'd try and see if that works correctly.

      If I revert to Minecraft 1.2.5, I can connect to any local IPv6 servers by hostname or IPv6 address without failure.

      All other applications I have that support IPv6 work with my network setup.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grum [Mojang] Grum (Erik Broes)
                Reporter:
                solaryn Christopher Fitzgerald
              • Votes:
                40 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: