elasticsearch: add http_port and tcp_port.