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?
No description
7 Replies
Percy
Percy8mo ago
Project ID: 29a5fb27-3661-4597-af03-ec799c4720cd
Deani1232
Deani1232OP8mo ago
29a5fb27-3661-4597-af03-ec799c4720cd
Deani1232
Deani1232OP8mo ago
Oh wow, looks like it's my issue. Did something change with Railway or Nest that older versions didn't require this?
Brody
Brody8mo ago
nothing changed with railway regarding this, you have always had to listen on $PORT as for nest, no clue
Deani1232
Deani1232OP8mo ago
That fixed, thank you.
Brody
Brody8mo ago
no problem!
Want results from more Discord servers?
Add your server