Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
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.