Next.js Discord

Discord Forum

The localhost gets disconnected while rendering the NextJS 13 application

Answered
Santhosh Prabhakaran posted this in #help-forum
Open in Discord
In my NextJS 13 application, The localhost getting disconnected when the application gets re-render while developing. I'm also getting this error in my terminal
TypeError: fetch failed at Object.processResponse (node:internal/deps/undici/undici:6406:34) at node:internal/deps/undici/undici:6727:42 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:203:9) at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: connect ECONNREFUSED 127.0.0.1:33777 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 33777 } }
Any help on this would be appreciated.
Answered by joulev
seems like a nextjs bug, try downgrading to 13.4.12 https://nextjs-forum.com/post/1141790913052553216
View full answer

8 Replies

what is port 33777?
Answer
Does it affect any other things ?
European sprat
yeah it might if you are using some feature that doesn't exist in the downgraded version
but you can just try and go back if it breaks