Expose multiple ports
patrick555108
FREEOP

4 months ago

How can I expose multiple ports on free plan?

Solved

24 Replies

patrick555108
FREEOP

4 months ago

Or change external tcp external port to 80 (http)


medim
MODERATOR

4 months ago

You can change that when you create a TCP proxy, it asks for which Port to redirect to.



patrick555108
FREEOP

4 months ago

I mean the external port


patrick555108
FREEOP

4 months ago

That's the application port internally.
I mean the port exposed on the url.


medim
MODERATOR

4 months ago

This isn't possible, Railway’s TCP proxy assigns a random external port and you can’t change it to 80.


medim
MODERATOR

4 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)


patrick555108
FREEOP

4 months ago

The main problem I need HTTP for request from device that doesn't support HTTPS, and Railway doesn't support HTTP. Thanks!


jack
PRO

4 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.


patrick555108
FREEOP

4 months ago

Sadly, it's free plan


jack
PRO

4 months ago

It doesn't allow you to use a custom domain?


patrick555108
FREEOP

4 months ago

Yes



patrick555108
FREEOP

4 months ago

1417970534087393300


jack
PRO

4 months ago

Ah, must be outdated documentation.


patrick555108
FREEOP

4 months ago

It's very annoying thing, I hope it gets changed soon.


patrick555108
FREEOP

4 months ago

I mean custom domains for paid plans only


jack
PRO

4 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.


patrick555108
FREEOP

4 months ago

I agree with you, but it could allow custom domains even if limited to 1 domain only.


jack
PRO

4 months ago

Have you already used your trial?


patrick555108
FREEOP

4 months ago

30 days? Yes.


patrick555108
FREEOP

4 months ago

Why suddenly the initalization (taking a snapshot of the code) became very slow , can reach more than 10 minutes ?


patrick555108
FREEOP

4 months ago

1418320427633086500


medim
MODERATOR

4 months ago

!s


Status changed to Solved medim 4 months ago


Loading...