2 months ago
I want to connect services in my projects internally. I have 3 services, but need to add more services. for fast speed, I want to connect them in private networking. how can I do it?
1 Replies
Status changed to Awaiting Railway Response Railway • 2 months ago
2 months ago
Hy, Railway has private networking built in, zero config needed. every service automatically gets an internal dns name like yourservicename.railway.internal and you just call it on whatever port your service is listening on using http:// not https:// since the traffic is already encrypted. works for as many services as you want to add. just make sure all your services are in the same project and same environment, otherwise they can't see each other. also worth knowing it only works at runtime, not during the build phase