-
Bug
-
Resolution: Fixed
-
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
-
Windows 7, Linux, probably Mac as well, Java 32/64-bit, official launcher
-
Plausible
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.
- is duplicated by
-
MC-16504 LAN Feature doesn't work on ipv6 adresses.
- Resolved
-
MC-19301 Connecting to IPv6 IP address fails since 1.6 (1.5.2 works)
- Resolved
-
MC-19753 Joining a server that uses IPv6 comes up with a communication error.
- Resolved
-
MC-31848 Minecraft disrespects/overwrites java.net.preferIPv4Stack
- Resolved
-
MC-44229 Minecraft's switch to Netty API removed IPv6 support
- Resolved
-
MC-69290 IPV6
- Resolved
-
MC-88110 Can't connect to server with IPV6
- Resolved
-
MC-95841 Unable to join IPv6 servers
- Resolved
-
MC-204355 IPv6 not enabled by default in launcher
- Resolved
- relates to
-
MC-92923 "Open to LAN" servers accessible on IPv6-only LAN should show up under Multiplayer without manually entering IP address
- Reopened
-
MC-15525 Minecraft does not prefer IPv6!
- Resolved
-
MCL-2627 Launcher will not download game over IPv6
- Resolved
-
MC-2507 Entering IPv6 servers crashes the client
- Resolved
-
MC-98598 LAN List does not populate reliably
- Reopened
-
MC-117086 Uses IPv6 over IPv4
- Resolved