How to configure JBoss to bind to a different IP ?
User Rating: 5 / 5
- Published: 16 September 2008
If you want to change the jboss.bind.address property use the "-b" option in when calling the JBoss startup script (run.sh or run.bat in the bin directory).
run.sh -b 192.168.0.1
enables jboss to listen for connections on the address 192.168.0.1 of the machine.
run.sh -b 0.0.0.0
listen on all IP addresses of the machine (if multihomed)
On JBoss AS 7 (and later) you can bind the public interfaces using:
standalone.sh -b 192.168.0.1
On the other hand, you can bind Management Interfaces using: