How to interconnect services ?

Hi, So I am having this issue. I have a node express server and a node telegram server. The telegram server needs to use the routes provided by the express server. In a VM scenario, I could start the express server in localhost:port and just point my telegram server to send request to that url http://localhost:port/api/endpoint. Also, if I had used docker, i could refer to the service name as the origin in the url. But how do I do this in railway ?
3 Replies
Percy
Percy2y ago
Project ID: 4ba2bd57-b08f-4459-a80a-e3f9dd0533bb
tsensei
tsenseiOP2y ago
4ba2bd57-b08f-4459-a80a-e3f9dd0533bb
Brody
Brody2y ago
at the moment railway does not have internal networking, all communication between services would have to go through their public domains. internal networking is being worked on, so look forward to it! https://feedback.railway.app/feature-requests/p/internal-networking
Want results from more Discord servers?
Add your server