Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

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.
In order to execute this under Linux run:
./run.sh -b <ip address>
In order to execute this under Windows run:
run.bat -b <ip address>

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.

 
 
  Published under the terms of the Open Publication License Design by Interspire