Thursday, October 23, 2008

Setting JBoss IP address

Starting jboss without configuring the ip address will set the default address for jboss to localhost which is fit for development or maybe for a production server, where apache is used as the proxy to jboss and resides in the same machine.

To set the ip address for JBoss :
  • To a specific IP address
  • run.sh -b 10.62.31.31
  • To localhost or the IP address assigned to the server
  • run.sh -b 0.0.0.0
There's all to set the ip address, somehow I still wonder why JBoss prefer this way to configure the ip address :)

2 comments:

Anonymous said...

Thanks, good post, well done Google for finding it.

Anonymous said...

this is not working for me. Even though I am giving command

run.bat -b 127.0.0.3

it is starting the server on 127.0.0.1

please help me .