a year ago
How can I expose multiple ports on free plan?
24 Replies
a year ago
You can change that when you create a TCP proxy, it asks for which Port to redirect to.
That's the application port internally.
I mean the port exposed on the url.
a year ago
This isn't possible, Railway’s TCP proxy assigns a random external port and you can’t change it to 80.
a year ago
You can expose multiple HTTP ports via Magic Ports but each internal port must be attached to a separate domain (plan limits apply here, and you're on the free plan which is limited to 1 custom domain per service while on Trial and 0 on the Free plan)
The main problem I need HTTP for request from device that doesn't support HTTPS, and Railway doesn't support HTTP. Thanks!
a year ago
If Railway forces HTTPS on the default public domain, you can try to set up a custom domain through something like Cloudflare, then you can serve plain HTTP — as long as your app itself supports it and is properly configured on both ends.
a year ago
It doesn't allow you to use a custom domain?
a year ago
a year ago
Ah, must be outdated documentation.
a year ago
I mean, you could understand why though as far as preventing abuse. Railway is extremely generous with pricing and pay-for-usage as compared to other solutions in my opinion, makes it worth it.
I agree with you, but it could allow custom domains even if limited to 1 domain only.
a year ago
Have you already used your trial?
Why suddenly the initalization (taking a snapshot of the code) became very slow , can reach more than 10 minutes ?
a year ago
!s
Status changed to Solved medim • 11 months ago

