ERROR connect ECONNREFUSED ::1:8080 with Nuxt app

I’m trying to deploy a Nuxt app but when I try and hit the website, I get an error in the console, as follows:-

2023-02-23T16:57:00.052 app[60cc0714] lhr [info] ERROR connect ECONNREFUSED ::1:8080

2023-02-23T16:57:00.052 app[60cc0714] lhr [info] at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)

What does that mean? I’m pretty new to frontend stuff and I’m totally lost.

It means that Nuxt is unable to connect to the host responsible for SSR, so anything going through a fetch() request is erroring out. Have you set your baseUrl env var?