Paddy
connectivity Testing
Hello every one,
I have a seemingly very simple question which I was not able to answer for my self.
Also I should say that I'm new to railway. Started using it last Week or so.
I have two simple Services where service A wants to talk to service B. I saw that in an private network every service has already a dns name assigned. Therefore I created a Variable for service A with the name from service B and vice versa.
The url for the request in service A look something like
for my local machine ${process.env.name} will evaluate to
localhost
in railway it evaluates to the name I configured (I double checked this with logs).
But beside my expectation these two services can't talk to each other. I clearly missing something here. Maybe someone can explain to me the networking in Railway Private Networks. In the Docs I saw something about only Ipv6 an no Ipv4 in Private Networks but I am not sure if this is the Problem.
If I were using Docker or K8 I would now try to execute commands inside the Container to check the dns and or ping the other container to check if packages reaching its destination.
I hope someone can shed some Light on this as I'm fairly lost
at the moment 😅
Thank you in advance.7 replies