Second possible solution
As an alternative to adding parameters, run the start command, you can edit your standalone.xml to enable remote access from any source. This approach is more useful if you need remote access in most cases, so you do not need to remember to pass additional parameters to the start command, as shown above.
First go to the Wildfly configuration folder:
terminal
cd /opt/wildfly-8.2.0.Final/standalone/configuration
Then edit the standalone.xml file using the desired file editor and make the following changes: Replace this:
standalone.xml
<interface name="management"> <inet-address value="${jboss.bind.address.management:127.0.0.1}"/> </interface> <interface name="public"> <inet-address value="${jboss.bind.address:0.0.0.0}"/> </interface>
Wherein:
standalone.xml
<interface name="management"> <any-address/> </interface> <interface name="public"> <any-address/> </interface>
Be sure to save the changes and restart Wildfly:
at the terminal
/opt/wildfly-8.2.0.Final/bin/jboss-cli.sh --connect --command=:reload
Done.
Mahendra andhale
source share