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

