dafault dpmain not working
ayush112-gif
FREEOP
a month ago
i deployed my project on railway the serviec showing running and live and there is no log error the dafult railway domain is not loading or accesible publicly i hade like help troublesooting why the domain is stucking
1 Replies
darseen
HOBBYTop 5% Contributor
a month ago
Check if you are using the port provided by railway to your container automatically. If you are hardcoding the port in your code to 3000 for example, it could cause this issue. You need to use const PORT = process.env.PORT ?? 3000; in your code (if your are using node.js).