2.3.6. Enabling Remote Connectivity to the JBoss Server
Older versions of the JBoss Server always bound to the address 0.0.0.0 (for instance, all network interfaces). This resulted in many unprotected instances of JBoss on the Internet. This is no longer the case as JBoss now only binds to the local interface (typically 127.0.0.1) by default. To change this, the -b
command line option can be used.
Note
Using -b
as part of the JBoss Server's command line is equivalent to setting these individual properties: -Djboss.bind.address
-Djava.rmi.server.hostname
-Djgroups.bind_addr
and -Dbind.address
. Also note that passing -Djboss.bind.address
to the Java process as part of the JAVA_OPTS
variable in the run scripts will not work as it is a JBoss property not a JVM property.