Logs to Logstash Fail

Hi, I am trying to set up Logstash for logs but each log export fails with e.g.

checkpoint: 90020200729141716280000757738638214755286894288805298194
start: 2020-07-31T11:37:01.494Z
end: null
logsProcessed: 0
error: [{"error":{"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"","port":8080},"status":500},"Skipping logs from null to 90020200729141716280000757738638214755286894288805298194 after 5 retries."]

My logstash conf files looks like this

input {
  http {
    type => auth0
    port => 8080


filter {
  mutate {
    rename => {
       "_id" => "log_id"

output {
  stdout {}

I have ran curl commands for, they work and I can see them appear in logstash. This url is the same as the LOGSTASH_URL I set up in Auth0, with index=“Auth0” and no other changes to default settings. Any reasons why the connection might not be working?