When you start the JBoss server, try adding the binding option: -b <ipaddress> (./run.sh -b <ipaddress>)
My guess is when you started the server, localhost is bound to 127.0.0.1.
Thanks Van Halbert. It worked.
hello ，I have the same question. but the solution I can't understand, can you tell me more details.thanks very much!