R
Railway9mo ago
kkcy

Expose more than 1 port

I'm trying to host Kong Gateway with railway, and that requires multiple port to be used, 8000, 8001 & 8002. Right now we can access 8000 with env PORT, but is it possible to access 8001 & 8002 as well?
Solution:
fragly is right, the work around being configure a proxy to map the ports to either different routes or different hosts (subdomains)
Jump to solution
5 Replies
Percy
Percy9mo ago
Project ID: da7cbb8d-e876-48f1-9dfe-ab22ada2b1cc
kkcy
kkcy9mo ago
da7cbb8d-e876-48f1-9dfe-ab22ada2b1cc
Fragly
Fragly9mo ago
You can't expose more than one port on railway yet why can't you use one port?
Solution
Brody
Brody9mo ago
fragly is right, the work around being configure a proxy to map the ports to either different routes or different hosts (subdomains)
kkcy
kkcy9mo ago
got it, thanks for the prompt replies !
Want results from more Discord servers?
Add your server
More Posts