[[host]]
== --host

[float]
Summary
~~~~~~~

By default, curator will connect to `localhost`. You can override this setting
with the `--host` flag.

[float]
Flags
~~~~~

* `--host` IP address or resolvable host name or FQDN of Elasticsearch instance.
Default: `localhost`.


IMPORTANT: This flag must come before any <<commands,command>>.

[float]
Example
~~~~~~~

Connect to Elasticsearch instance on host `es.example.org` on port `12345`:

----------------------------------------------------------------
curator --host es.example.org --port 12345 <<command>> <<flags>>
----------------------------------------------------------------
