15 Replies
Project ID:
b71ee966-e11c-4a83-80be-ab4fb3cc131c
b71ee966-e11c-4a83-80be-ab4fb3cc131c
you shouldn’t be running nodemon in your start command, but that won’t fix this
what will fix this lol
i removed nodemon from my start script but same error
but that won’t fix thismilo come back
this my configuration
milo gone, please read this https://docs.railway.app/troubleshoot/fixing-common-errors
i follow solution for Node / Express but it's the same
export const APP_PORT = Number(process.env.APP_PORT || "3000");
app.listen(APP_PORT, "0.0.0.0", function () {
console.log(
Server is running on port ${APP_PORT});
});
please read the docs page
milo eepy
lol only APP_PORT to PORT in env 🤣🤣🤣
there ya go 🥳
thank you very much for helping
no prob 🙂