Angular project im working its not able to deploy
abk8406
FREEOP

7 months ago

Application failed to respond

This error appears to be caused by the application.

If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.

If you are a visitor, please contact the application owner or try again later.

Request ID:

$10 Bounty

4 Replies

patrikhorvatic
PRO

7 months ago

Make sure when you start the server that you set valid port. Port in your project must be the same as the port in Settings -> Public Networking .

  const port = process.env['PORT'] || 4000;
  app.listen(port, () => {
    console.log(`Node Express server listening on port ${port}`);
  });

patrikhorvatic

Make sure when you start the server that you set valid port. Port in your project must be the same as the port in Settings -> Public Networking .const port = process.env['PORT'] || 4000; app.listen(port, () => { console.log(`Node Express server listening on port ${port}`); });

abk8406
FREEOP

7 months ago

im using angular project not node.js node project its working fine

only angular project is not working


abk8406

im using angular project not node.js node project its working fineonly angular project is not working

sim
FREE

7 months ago

Check this out https://docs.railway.com/guides/angular

It is an angular template


sim

Check this out https://docs.railway.com/guides/angularIt is an angular template

sim
FREE

7 months ago

You can use this as a guide but to solve your issue we will need your deployment logs https://docs.railway.com/guides/logs#deployment-logs


Loading...