Failed to connect to the CLI: "XNIO000816"

Solution Verified - Updated -


Red Hat JBoss Enterprise Application Platform (EAP) 7.1


  • After upgrade from JBoss EAP 7.1.0 to JBoss EAP 7.1.5 the connection failed to the CLI.
  • Not able to connect to the CLI due to XNIO000816 error.


Check if the http-interface is configured with http-upgrade enable=true, as shown below:

 <http-interface security-realm="ManagementRealm">
          <http-upgrade enabled="true"/>
          <socket-binding http="management-http"/>

Root Cause

Without the http-upgrade enabled=true the http interface don't allow connections to the remote interface, like CLI.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.