use correct address for elasticsearch endpoint, also to allow for
different port numbers