NestJS app - no access to server with Railway domain
I have a super simple NestJS app, and I must be missing something. I have another NestJS app that this works fine on...
I'm just trying to setup a simple swagger UI install first, and it's working on my localhost, but I can't seem to visit it on the railway domain. I included my main.ts file.... is something wrong with my strategy?
Solution:Jump to solution
please read this section https://docs.railway.app/guides/fixing-common-errors#node--nest
7 Replies
Project ID:
29a5fb27-3661-4597-af03-ec799c4720cd
29a5fb27-3661-4597-af03-ec799c4720cd
Solution
please read this section https://docs.railway.app/guides/fixing-common-errors#node--nest
Oh wow, looks like it's my issue. Did something change with Railway or Nest that older versions didn't require this?
nothing changed with railway regarding this, you have always had to listen on $PORT
as for nest, no clue
That fixed, thank you.
no problem!