Wednesday, July 2, 2008

Binding Jboss to IP of the machine

Found that by Default Jboss binds itself to localhost of the machine where it is installed. To make it to bind to Ip of the machine passed a argument -b IpAddress (e.g -b 10.96.2.120) to run.bat present in Jboss_home/bin

To bind it to both local host and IP pass -b 0.0.0.0

During development if the Jboss server is controlled from IDE like eclipse, then run.bat file will not be picked. So for this you can pass the above parameter in Eclipse itself through program arguments dialog box.

No comments: