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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.4.1, Minecraft 1.4.2
    • Linux
    • Unconfirmed

      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.)

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

              Created:
              Updated:
              Resolved: