You cannot use the local interface outside of the
but the jboss server and my client are located on the same machine. Correct me if I am wrong, so they use the same JVM.
No you have two virtual machines.
One running the server, one running the client.
You get a new JVM everytime you use the java command
(different OS processes).