HttpClient provided by elasticsearch-httpclient is HTTP-based implementation for org.elasticsearch.client.Client. You can replace TranportClient with this HttpClient to access to Elasticsearch with HTTP port.