Nuxt SSR App, shows 404

I’m trying to bring up a deployed nuxt SSR website. I’m getting these errors when deploying

10:05:12 PM:  ERROR   /faq
10:05:12 PM: Error: connect ECONNREFUSED 127.0.0.1:3000
10:05:12 PM:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
10:05:12 PM:  ERROR   /privacyPolicy
10:05:12 PM: Post processing done
10:05:12 PM: Error: connect ECONNREFUSED 127.0.0.1:3000
10:05:12 PM:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
10:05:12 PM:  ERROR   /signIn
10:05:12 PM: Error: connect ECONNREFUSED 127.0.0.1:3000
10:05:12 PM:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
10:05:12 PM:  ERROR   /termsOfSale
10:05:12 PM: Error: connect ECONNREFUSED 127.0.0.1:3000
10:05:12 PM:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
10:05:12 PM:  ERROR   /
10:05:13 PM: Site is live

I’m not sure why this is happening. I have seen this happen in my local instance when I didn’t also have the “yarn serve” development server running when I did a nuxt generate. Anyone have any ideas? When trying to view the site I just get a 404.

I think I might have found my own answer. I hadn’t searched ECONNREFUSED yet.

1 Like