i have created elasticsearch service on amazon s3
and have server on ec2
So want to create indexing on elasticsearch service using php from my ec2 server.
its just working fine on curl
bt not on php
i did sethosts endpoint of elasticsearch service
$client ClientBuilder::create()->setHosts([
// 'https://searchxxxxxxxxxxc3hyobm.ap-south-1.es.amazonaws.com'
// ])->build();
it says no cluster found!
bt didnt help!
Please Kindly help me !
sry for my bad english