[[port]]
== --port

[float]
Summary
~~~~~~~

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

[float]
Flags
~~~~~

* `--port` Port remote Elasticsearch instance is running on. Default: `9200`

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>>
----------------------------------------------------------------
