# Elasticsearch-plugin and proxies

**URL:** <https://discuss.elastic.co/t/elasticsearch-plugin-and-proxies/64857>\
**Category:** Elasticsearch\
**Created:** [November 3, 2016, 11:54am UTC](https://discuss.elastic.co/t/elasticsearch-plugin-and-proxies/64857 "2016-11-03T11:54:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![teej](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@teej](https://discuss.elastic.co/u/teej)\
**Post date:** [November 3, 2016, 11:54am UTC](https://discuss.elastic.co/t/elasticsearch-plugin-and-proxies/64857/1 "2016-11-03T11:54:36Z")

</div>

Hi,  
I am trying to install the analysis-icu plugin but am having problems with the installation. In ES 4, it worked fine but now I try:

./elasticsearch-plugin --noproxy install analysis-icu

or:

./elasticsearch-plugin -DproxyHost=https://proxy.sei.cmu.edu -DproxyPort=8080 install analysis-icu

but always get:

Exception in thread "main" java.net.ConnectException: Connection timed out (Connection timed out)

everything else on the machine that utilizes a proxy still works, so I'm wondering, is there a different way to do it with ES5?

Thank you.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 3, 2016, 1:07pm UTC](https://discuss.elastic.co/t/elasticsearch-plugin-and-proxies/64857/2 "2016-11-03T13:07:13Z")

</div>

Can you try this? [https://www.elastic.co/guide/en/elasticsearch/plugins/current/\_other\_command\_line\_parameters.html#\_proxy\_settings](https://www.elastic.co/guide/en/elasticsearch/plugins/current/_other_command_line_parameters.html#_proxy_settings)

---

<div class="post-metadata">

**Author:** ![teej](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@teej](https://discuss.elastic.co/u/teej)\
**Post date:** [November 3, 2016, 3:11pm UTC](https://discuss.elastic.co/t/elasticsearch-plugin-and-proxies/64857/3 "2016-11-03T15:11:47Z")

</div>

David,  
I thought I had looked at every ES page regarding this proxy thing but somehow missed the one you referenced. Worked like a charm. Thank you.

---

<div class="post-metadata">

**Author:** ![amardeepchandra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amardeepchandra/32/14338_2.png) [@amardeepchandra](https://discuss.elastic.co/u/amardeepchandra)\
**Post date:** [January 5, 2017, 11:03am UTC](https://discuss.elastic.co/t/elasticsearch-plugin-and-proxies/64857/4 "2017-01-05T11:03:32Z")

</div>

For me mentioned proxy setting is not working in windows, Is there thing missing below configuration?

set ES\_JAVA\_OPTS="-DproxyHost=proxyhost -DproxyPort=80 -Dhttps.proxyHost=proxyhost -Dhttps.proxyPort=80"

set ES\_JAVA\_OPTS="-Dhttp.proxyHost=proxyhost -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxyhost -Dhttps.proxyPort=80"

Command which I am trying to execute is "elasticsearch-plugin install ingest-attachment" on a server behind proxy host. Even offline install of same also do not work.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:04pm UTC](https://discuss.elastic.co/t/elasticsearch-plugin-and-proxies/64857/5 "2017-07-05T22:04:27Z")

</div>


