]
RH Bugzilla Integration updated WFLY-248:
-----------------------------------------
Bugzilla Update: Perform
Bugzilla References:
Loopback addresses in the range 127.0.0.2 - 127.255.255.255 should be
supported
-------------------------------------------------------------------------------
Key: WFLY-248
URL:
https://issues.jboss.org/browse/WFLY-248
Project: WildFly
Issue Type: Feature Request
Components: Domain Management
Environment: Linux Fedora 13
Reporter: Bela Ban
Assignee: Rostislav Svoboda
Fix For: 8.0.0.Alpha3
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:
{code}
InetAddress addr=InetAddress.getByName("127.0.0.5");
boolean is_loopback=addr.isLoopback(); // should be true
{code}
Loopback addresses are very useful for local testing, ie. starting of multiple JBoss
instances on the same box.