I would like to configure JBoss in standalone mode, and access my application using either localhost (http://localhost:8084/MyApp) or the ip of my machine (http://ip:8084/MyApp) ? I could configure a interface to connect using either localhost or the ip but not both. Here is my configuration :
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
<interface name="my-interface">
<inet-address value="IP"/>
</interface>
</interfaces>