[id='cli_start-{context}']
= Connecting to {brandname} Servers
Establish CLI connections to {brandname}.

.Prerequisites

Add user credentials and have at least one running {brandname} server instance.

.Procedure

. Open a terminal in `{server_home}`.
. Start the CLI.
+
* *Linux:*
+
[source,options="nowrap",subs=attributes+]
----
include::cmd_examples/cli_nix.adoc[]
----
+
* *Microsoft Windows:*
+
[source,options="nowrap",subs=attributes+]
----
include::cmd_examples/cli_win.adoc[]
----
+
. Run the [command]`connect` command and enter your username and password when prompted.
+
* {brandname} Server on the default port of `11222`:
+
[source,options="nowrap",subs=attributes+]
----
[disconnected]> connect
----
+
* {brandname} Server with a port offset of `100`:
+
[source,options="nowrap",subs=attributes+]
----
[disconnected]> connect 127.0.0.1:11322
----
