Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot connect to Wildfly

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

\wildfly-11.0.0.Final\bin>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.

like image 373
Mihai Alexandru-Ionut Avatar asked Jan 21 '18 22:01

Mihai Alexandru-Ionut


People also ask

Is WildFly same as JBoss?

WildFly, formerly known as JBoss AS, or simply JBoss, is an application server written by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition (Java EE) specification. It runs on multiple platforms.

What is WildFly default admin password?

The WildFly Administration Console tool, the default username is "manager" and the password is the same that you set during the installation.

How do I run WildFly on command prompt?

To start up a WildFly 8 managed domain, execute the $JBOSS_HOME/bin/domain.sh script. To start up a standalone server, execute the $JBOSS_HOME/bin/standalone.sh. With no arguments, the default configuration is used.


1 Answers

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

jboss-cli.bat -c --controller=localhost:9990
like image 139
jordiburgos Avatar answered Oct 10 '22 15:10

jordiburgos