Thursday, January 14, 2010

Access JBoss AS with IP Address

When I installed JBoss Application Server [AS] 5.1.x on Remote machine, I wanted to access it using the IP address of the remote machine.

Though, you can access the JBoss AS welcome screen on a machine on which you installed the JBoss AS, but not on the remote machine. It is because the JBoss Server is locked on 'localhost'. Hence, you could access the JBoss AS using either localhost[:port] or 127.0.0.1[:port].

To fix this issue, you must have to run the JBoss AS using following command line argument:

$ $JBOSS_HOME/bin/run.sh -b IPADDRESS
where
-b, --host= Bind address for all JBoss services
IPADDRESS could be your remote machine IP Address on which you installed the JBoss AS

For the reference, check out this link:

No comments: