Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-248

Loopback addresses in the range 127.0.0.2 - 127.255.255.255 should be supported

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 8.0.0.Alpha3
    • None
    • Management
    • None

    Description

      When starting JBoss like this: "standalone.sh -b 127.0.0.2 -c standalone-ha.xml", the startup fails because 127.0.0.2 cannot be resolved.
      However, a loopback address should be recognized even if it doesn't resolve to an interface. The code below works for example:

      InetAddress addr=InetAddress.getByName("127.0.0.5");
      boolean is_loopback=addr.isLoopback(); // should be true
      

      Loopback addresses are very useful for local testing, ie. starting of multiple JBoss instances on the same box.

      Attachments

        Activity

          People

            rsvoboda@redhat.com Rostislav Svoboda
            rhn-engineering-bban Bela Ban
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: