Usually we use localhost to access the system which is deployed on JBOSS AS Server.
But if someone in the remote machine want to access your system the default JBOSS configuration is not supported.
To support access via IP, you should do like below: