NestJS app - no access to server with Railway domain
deani1232
PROOP

2 years ago

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?

7 Replies

deani1232
PROOP

2 years ago

29a5fb27-3661-4597-af03-ec799c4720cd


brody
EMPLOYEE

2 years ago

please read this section


deani1232
PROOP

2 years ago

Oh wow, looks like it's my issue. Did something change with Railway or Nest that older versions didn't require this?


brody
EMPLOYEE

2 years ago

nothing changed with railway regarding this, you have always had to listen on $PORT


brody
EMPLOYEE

2 years ago

as for nest, no clue


deani1232
PROOP

2 years ago

That fixed, thank you.


brody
EMPLOYEE

2 years ago

no problem!


Loading...