I have http_proxy and https_proxy . I don't want to --noproxy '*' and --noproxy '*' those environments , but --noproxy '*' works fine for me.
curl --noproxy '*' -XGET 172.17.0.2:9200 { "status" : 200, "name" : "Medusa", "cluster_name" : "elasticsearch", "version" : { "number" : "1.5.0", "build_hash" : "544816042d40151d3ce4ba4f95399d7860dc2e92", "build_timestamp" : "2015-03-23T14:30:58Z", "build_snapshot" : false, "lucene_version" : "4.10.4" }, "tagline" : "You Know, for Search" }
prayagupd Sep 28 '16 at 20:58 2016-09-28 20:58
source share