503 Service Unavailable - .NET 8 API

arthurdeol
HOBBY

a year ago

I have a .net 8 application, and I configured a port 3000, but even in this way my application just reach 503. My deploy was a success.

Solved

2 Replies

a year ago

Your app would need to listen on the PORT environment variable, not 3000.

For more information please read this docs page -

https://docs.railway.app/guides/fixing-common-errors


Status changed to Solved railway[bot] about 1 year ago


arthurdeol
HOBBY

a year ago

Thanks, my application was trying to listen 8080. Now it is working.