How do I expose two ports at once?

hskang9
PRO

a year ago

I use two ports for websocket server and indexer server. So far I see Railway covers the default port for 42069, but I don't know how to expose other ports in configuration in the railway project. Can someone help me out on this?

repo: https://github.com/standardweb3/standard-ponder

How does runtime V2 resolve this? I heard that Runtime V2 now supports opening double ports at once?

https://help.railway.app/feedback/expose-multiple-ports-9c904897

Solved

1 Replies

a year ago

Enable the V2 runtime and then redeploy, you can then add a domain to your service and will be promoted to select a port for that domain to forward traffic to.


Status changed to Solved angelo 12 months ago