Expose multiple ports
patrick555108
FREEOP

10 months ago

How can I expose multiple ports on free plan?

Solved

24 Replies

patrick555108
FREEOP

10 months ago

Or change external tcp external port to 80 (http)


10 months ago

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



patrick555108
FREEOP

10 months ago

I mean the external port


patrick555108
FREEOP

10 months ago

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)


patrick555108
FREEOP

10 months ago

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.


patrick555108
FREEOP

10 months ago

Sadly, it's free plan


10 months ago

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


patrick555108
FREEOP

10 months ago

Yes



patrick555108
FREEOP

10 months ago

1417970534087393390


10 months ago

Ah, must be outdated documentation.


patrick555108
FREEOP

10 months ago

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


patrick555108
FREEOP

10 months ago

I mean custom domains for paid plans only


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.


patrick555108
FREEOP

10 months ago

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?


patrick555108
FREEOP

10 months ago

30 days? Yes.


patrick555108
FREEOP

10 months ago

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


patrick555108
FREEOP

10 months ago

1418320427633086535


9 months ago

!s


Status changed to Solved medim 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...