Elasticsearch isn't configured for HTTPS requests out of the box. Here are the config changes necessary to make https queries and how to query Elasticsearch from React