Maven cargo is not stopping jboss 6.1. How to define the jboss host?
===

maven cargo is not being able to stop my JBoss 6.1 instance, because it tries to contact my hostname instead of my IP or "localhost":

> [INFO] [cargo:stop {execution: stop-server}] 

> [INFO] [talledLocalContainer] JBoss 6.1.0 is stopping... 

> [INFO] [talledLocalContainer] Exception in thread "main"

> java.rmi.ConnectIOException: Exception creating connection to:

> myHostName; nested exception is: [INFO] [talledLocalContainer]

> java.net.NoRouteToHostException: No route to host

Is it possible to define this host in the configuration?