When having the default http (9990) and cli (9999) management ports
When running this command, trying to connect to the http management port:
./jboss-admin.sh --controller=localhost:9990 -c
You end up with a hung process, it does not appear to time out. You need to do a kill -9 on the process, if it trys to connect to an invalid host it should error out.
If it can not connect it should time out.