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.