3.5.4. Connect to a Managed Server Instance Using the Management CLI
Prerequisites
Procedure 3.7. Connect to a Managed Server Instance
Run the
connectcommandFrom the Management CLI, enter theconnectcommand:[disconnected /]
connectConnected to domain controller at localhost:9999- Alternatively, to connect to a managed server when starting the Management CLI on a Linux system, use the
--connectparameter:$
EAP_HOME/bin/jboss-cli.sh --connect - The
--connectparameter can be used to specify the host and port of the server. To connect to the address192.168.0.1with the port value9999the following would apply:$
EAP_HOME/bin/jboss-cli.sh --connect --controller=192.168.0.1:9999