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