wasn't properly setting ost and port for elasticsearch client