The controller is not available at localhost JBOSS.7.1.1.FINAL The controller is not available at localhost JBOSS.7.1.1.FINAL linux linux

The controller is not available at localhost JBOSS.7.1.1.FINAL


This question has two issues ,

First, i have provided debuging parameter in the startup script.If you see 8787 that means you have somewhere provided debuging argument.

Second and the most important one controller not available @localhost or @IPADDRESS .

  1. Please check if you have used port offset, as it increments all the ports by the number with with you have set port offset.Suppose port offset is 2 Then try to access connect localhost:10001 Port i.e 9999+2

  2. On my production server sometimes it does not works with localhost , but works with IP address.Then try to access connect IPADDRESS:9999ORThen try to access connect 127.0.0.1:9999

  3. Please check in the firewall weather the port 9999 or what ever with port offset, if the port is not open in the firewall it gives error,

I asked this question 6 months back and the above checks has solved the problem always.


This is probaby because you have changed your binding configuration and jboss does not bind to 127.0.0.1.

In case your jboss instance is not binding to 127.0.0.1, you may use --controller option as follows:

./jboss-cli.sh --controller=YOUR_IP:9999


Use netstat -anp |grep 9999 to find out if port 9999 is in use and by which process id. You could also check the host.xml used by the controller to configure the proper native port.

In the host xml, you should find the default port:

    <native-interface security-realm="ManagementRealm">        <socket interface="management" port="${jboss.management.native.port:9999}"/>./jboss-cli.sh --controller=localhost:9999 --connect