6 months ago
How can I expose multiple ports on free plan?
24 Replies
6 months 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.
6 months ago
This isn't possible, Railway’s TCP proxy assigns a random external port and you can’t change it to 80.
6 months 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!
6 months 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.
6 months ago
It doesn't allow you to use a custom domain?
6 months ago
6 months ago
Ah, must be outdated documentation.
6 months 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.
6 months 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 ?
6 months ago
!s
Status changed to Solved medim • 6 months ago

