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

When i try to install X-Pack in elasticsearch

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with </> icon. Check the preview window.

I moved your question to #x-pack.

Anyway, may be you are behind a proxy?

Thank you


I have the same issue, and yes, I'm behind a proxy.
Although I have been trying to find the article that has been moved to other place, I have not found it.

Have a look at https://www.elastic.co/guide/en/elasticsearch/plugins/current/_other_command_line_parameters.html#_proxy_settings

Hi David,

Thanks for the quick follow-up, and due to my DNS host does not have A record of Proxy host, I've been tyring to set ENV with IP address and still having the same exception.
Do I need to set A record of Proxy host on my DNS and retry to setenv?

Hisashi Yamaguchi

Using the IP address of the proxy is fine.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.