mojira.dev
MC-263856

Minecraft disables IPv6 by default.

The problem:

Minecraft disables IPv6 the moment the launcher runs the game.

The cause:

Incorrect use of initialization flags by the launcher when running the game in any version: -Djava.net.preferIPv4Stack=true

 

How to solve:

Change the flag value and add another one:

-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true

Making the game work with both protocols simultaneously.

 

This issue affects all versions of Minecraft Java(From 1.8 to recent versions.) due to an incorrect launch command. There are several reports of this problem and it was never fixed.

Related issues

Comments

Arisa Bot

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Lunarian

Duplicate of MC-15525

migrated

I understand this problem has been presented many times here. Although it was "resolved" it was not. Also it's a mess with so many threads about it.

violine1101

Thank you for your report!
We're tracking this issue in MC-212438, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-212438) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

(Unassigned)

Unconfirmed

1.20.1

Retrieved