In AS7 there are two interfaces, application (e.g. 8080 and 4447) and management (e.g. 9990 and 9999).
The default is 'localhost 127.0.0.1' for both if you want to change you can use the command line option '-b <ip app> -bmanagement <ip mngmt>
Or you change the interface section in the standalone.xml
Port change is very simple, you might add '-Djboss.socket.binding.port-offset=100' to add an offset of 100 for each port.
Or you might change each single port in the socket-binding section of the configuration if you want to have special portnumbers.
If you want to change the values into the configuration file standolone.xml
you check this part
One point to remember is that the host name or IP address you specify need to be valid on the host that you are running JBoss AS i.e. the host name must have already been mapped to an IP address on that machine before you even start JBoss.
I would like to change the standalone.xml. For automation purposes, can the host name be a variable?
The variable is still in place, you can use the parameter '-Djboss.bind.address.management=x.x.x.x -Djboss.bind.address=x.x.x.x' if you run standalone.sh