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

A world opened to LAN on a Linux computer is impossible to join

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.4.1, Minecraft 1.4.2
    • Fix Version/s: None
    • Environment:
      Linux
    • Confirmation Status:
      Unconfirmed

      Description

      If a game is opened to LAN on linux, it is impossible to join, this is because Minecraft calls java.net.InetAddress.getLocalHost() to get the current IP, then broadcasts the server as being hosted on this IP. On windows this returns the LAN IP, a number like 192.168.X.Y, but on Linux, this returns 127.0.0.1 (which is what it should be returning, because that IS the local host. The windows java implementation is wrong.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                handuel sam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: