How to configure JBoss to bind to a different IP ?

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

 

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).
For example

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:

standalone.sh -bmanagement=192.168.0.1

Related articles available on mastertheboss.com

JBoss MBeans POJO

JMX MBean services are the core building blocks of the JBoss Appl

How to a dump of JNDI tree with JMX console ?

#2 JBoss Howto. This is the recipe of the day

How to shut down JBoss from remote ?

JBoss recipe of the day

How to create multiple instances of an Mbean?

  Supposing you need two instances of an MBean, let's say one fo

JBoss classloader issues

By default JBoss (prior to version 3.2) uses a flat class loading

jboss.xml reference

JBoss xml reference   JBoss AS uses a set of custom xml de

Follow us on Twitter