connect
connect [server-url {admin|user_name} password]
Connects the administration tool to the server. Any administrator can connect. An administrator is either the admin user, any user in the
$admin
group, or any user that has administrator permissions enabled. See
Administrator Permissions for more information about administrator permissions.
server-url is usually in the form:
protocol://host-name:port-number
for example:
tcp://myhost:7222
The protocol can be
tcp
or
ssl
.
If a user name or password are not provided, the user is prompted to enter a user name and password, or only the password, if the user name was already specified in the command.
You can enter
connect
with no other options and the administrative tool tries to connect to the local server on the default port, which is
7222
.