Filebeat - Error connecting to publish events

Is the port configured using HTTP or HTTPS?