While trying to add JBoss monitor ( version 6 or below ), I get the message "Connection refused to host: 127.0.0.1;"

While trying to add JBoss monitor ( version 6 or below ), I get the message "Connection refused to host: 127.0.0.1;"

Reason:

JBoss binds to localhost by default. So applications manager cannot make a TCP connection to JBoss.

Solution:

In the terminal, add the parameter '-b 0.0.0.0' while starting the JBoss instance so that it binds to all the available IP addresses. 

                  New to ADManager Plus?

                    New to ADSelfService Plus?