Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-98598

LAN List does not populate reliably

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.9, Minecraft 1.9.2, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w44a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w22c
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Mac to Mac - local LAN

    • Confirmation Status:
      Confirmed

      Description

      Possible workarounds

      The bug can be fixed by adding "-Djava.net.preferIPv4Stack=true" to your JVM arguments in the launcher.

      Greg Milson in this comment

      There is another possible workaround for this problem: explicitly specify which network interface the system should use for multicast. Under linux, just add a route for network 224.0.0.0/4 with the following command:

      route add -net 224.0.0.0 netmask 240.0.0.0 dev interface_name
      

      where interface_name is the name of the network interface to use for multicast traffic.

      Under windows, change the metric of the interface in question to the lowest value among all of them. Open the Advanced TCP/IP settings dialog under IPv4 settings of the interface, uncheck automatic metric, then enter 1 for interface metric. The value of 1 will beat every other interfaces with automatic metric enabled, because the lowest value assigned automatically is 5.

      I hope that this little tweaking resolves your problems.

      Gábor Szuromi in this comment

      Moderator Note

      I have reopened this ticket, specifically referring to the lack of a LAN list in the Multiplayer menu. Direct connect does work in my tests. I have included some notes from MC-98499 here:

      Nothing shows up in the multiplayer menu. It is possible to select "Direct Connect" in the multiplayer menu, enter the IP address of the local game, and enter the game that way. But still nothing is listed under "Scanning for games on local network." With 2 of the 4 computers, the behaviour is as expected and the games show up. With the other 2, they can host the game and be seen by the 2 correctly functioning computers, but not by each other. When the version is switched back to 1.8.9, all the 4 computers can host and detect LAN games as usual. This problem is specific to 1.9.

      When sharing a world with LAN to another computer it never shows up for the other computer. Switching back to 1.8 on both computers it works again.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Phenotopia Jörgen Gustafson
              • Votes:
                19 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: