Sudo
TTCTheo's Typesafe Cult
•Created by Sudo on 10/2/2023 in #questions
Deploying t3-stack with docker
I am trying to deploy t3 stack app with docker using the Dockerfile config provided in the docs. The server is starting but crashing when i hit the url.
Error:
Listening on port 3000 url: http://f80c580251b7:3000
- error Failed to handle request for /?vscodeBrowserReqId=1696278463609
TypeError: fetch failed
at Object.fetch (/app/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/undici/index.js:1:26669)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async invokeRequest (/app/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:21:12)
at async requestHandler (/app/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/start-server.js:336:33)
at async Server.<anonymous> (/app/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/start-server.js:152:13) {
cause: Error: connect ECONNREFUSED 127.0.0.1:45765
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 45765
}
}
Can anyone point me in the right direction like what is wrong! Btw i am using WSL .
4 replies