Port not detected for template project

Currently testing out a template I made, and an issue I noticed is that the services aren't properly exposed by default, presumably because Railway can't detect the port. I have to remove the domain and re-add it, at which point the port is properly detected. Are there any workarounds to this or potentially plans to support port detection for templates?
Solution:
your apps in the templates should be configured to listen on the PORT environment variable
Jump to solution
5 Replies
Percy
Percy3mo ago
Project ID: b0df9761-8f0e-4833-86c7-a6a8521d10b8
battlesqui_d
battlesqui_d3mo ago
b0df9761-8f0e-4833-86c7-a6a8521d10b8
Solution
Brody
Brody3mo ago
your apps in the templates should be configured to listen on the PORT environment variable
battlesqui_d
battlesqui_d3mo ago
hhhhhhhhhhhhhhhhh ok i'll try that brody being a cool guy once again that was it thank you
Brody
Brody3mo ago
no problem!
Want results from more Discord servers?
Add your server