you can now specify host and port for elasticsearch.