To connect to a local Wildfly server via the command line, the tool bin/jboss-cli.sh can be used:
$ ./bin/jboss-cli.sh --connect
[standalone@localhost:9990 /]
To connect to a remote Wildfly server, use the --controller option:
$ ./bin/jboss-cli.sh --connect --controller=localhost:9990
[stan...