How is this issue not confirmed yet? There is 45 comments, and the issue is easy to reproduce.
You can set flags to be passed to the game in the launcher. I'm unsure if this is required though - it's been a while since I touched Minecraft.
I added it go the /etc/hosts and I believed I passed an argument for it to prefer IPv6.
I've tested on Linux, I can connect to IPv6, but it requires me to add the address to my hosts file and than use the name rather than the address. Not ideal.
Can we please at least allow Minecraft to dual stack? We do not have a local IPv4 address which makes me unable to play over LAN. Minecraft should first try to connect to IPv6 and then fallback to IPv4 if that doesn't work.
I am experiencing this issue as well. Any clues?