Skip to content
Advertisement

Cannot connect to Wildfly

I have just installed Wildfly and I tried to connect it :

wildfly-11.0.0.Finalbin>jboss-cli.bat -c

But gives me follow error :

Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: Connection refused: no further information

I tried a lot of solutions but it’s not working for me.

Advertisement

Answer

With Widlfly running, i.e. (standalone.bat), use the –controller option to define where it is:

jboss-cli.bat -c --controller=localhost:9990
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement