Hi I am using elasticsearch rest client to push data to my amazon elasticsearch domain. It works perfect with host : localhost port: 9200
whereas when I change host to point my amazon elasticsearch endpoint with the port as "80" it gives me following error Request denied by WatchGuard HTTP Proxy
I am ingesting data through post request, same post requests works if I do that through postman but it does not work with elasticsearch RestClient java.
Following code snippet is used for the same :
HttpEntity entity = new NStringEntity(json,
url, Collections.<String, String> emptyMap(), entity);