Communication between services
Hi there!
Before start, thanks for this amazing product!
Context
I have a microservices architecture where I have services that communicates each other using TCP transport. That communication is backend-to-backend, so I would like to not exposing them to the internet. So, I have a couple of questions:
1. How can I reach services without exposing them to the internet? Do we have sort of internal domains to use through an env variable or a DNS convention?
2. Do we support any other protocol than http/https? (e.g. TCP)
3. Can I connect to the services using a different port rather than 80/443?
Thanks in advance!
12 Replies
this is not possible atm, we only support exposing http/ws to the internet
internal networking is an active feature request: https://feedback.railway.app/feature-requests/p/internal-networking-for-metro-microservices
so are custom ports: https://feedback.railway.app/feature-requests/p/allow-non-http-port-forwarding
ohh nice thing the feedback page, I'll keep an eye there π
oh yeah pings are disabled
leave an upvote on features you want to see!
Yeah, I've just signed up and I'll put my feedback there
Thank you so much for this
np!
one more thing, be sure to link your discord to your railway account, and react to the message in #πο½readme to gain access to the rest of the server
on my way!
1. not possible currently
but tailsclae works
Tailscale
Tailscale
Tailscale is a zero config VPN for building secure networks. Install on any device in minutes. Remote access from any network or physical location.
Thank you @eirk , I'll take a look!
Np