Angular project im working its not able to deploy
abk8406
FREEOP

10 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

10 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 . ```typescript const port = process.env['PORT'] || 4000; app.listen(port, () => { console.log(`Node Express server listening on port ${port}`); }); ```

abk8406
FREEOP

10 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 fine only angular project is not working

sim
FREE

10 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/angular> It is an angular template

sim
FREE

10 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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...