#Failed to load resource: the server responded with a status of 503 after deploy successfully Nestjs

6 messages · Page 1 of 1 (latest)

winter tiger
#

Currently, I am facing this issue error 503 server after deploy the Nestjs API successfully. The status deployment of Railway and log in app are success but I do not know why the domain of server response 503
Please help me for this case. Thank you !!
ServiceID : 18dcf98d-cf3e-49cb-ab22-732ffe4b1601
ServiceName: ms-portal-bank

balmy flameBOT
#

Project ID: 18dcf98d-cf3e-49cb-ab22-732ffe4b1601

#

It seems like the issue is related to Railway not correctly running the server in prod, as indicated by the log message npm WARN config production Use --omit=dev instead.. It is recommended to try using the --omit=dev flag when running the server in prod.

winter tiger
urban steeple
#

your app needs to listen on host 0.0.0.0 and environment variable PORT

winter tiger
#

Yes, It worked. Many thanks Brody !!!