Script servico wildfly
https://gist.github.com/sukharevd/6087988
Permitir acesso externo ao wildfly
#http://stackoverflow.com/questions/10132657/jboss-as-7-not-accepting-remote-connections
The answer is to edit standalone.xml and insert the tag any-address instead of inet-address bound to 127.0.0.1
<interfaces>
<interface name="management">
<inet-address value="127.0.0.1"/>
</interface>
<interface name="public">
<any-ipv4-address/>
</interface>
</interfaces>