R
Railway2mo ago
IgnisDa

Communication between services inside the same docker image

My services are not able to communicate with each other. Is what I am trying to do wrong?
No description
Solution:
how do you know that the api is running on 0.0.0.0 and 8000
Jump to solution
25 Replies
Percy
Percy2mo ago
Project ID: 6ef7539d-c186-4609-a904-178fd8fa7fa0
IgnisDa
IgnisDa2mo ago
6ef7539d-c186-4609-a904-178fd8fa7fa0 does localhost not work in railway?
Brody
Brody2mo ago
is the api running within the same container?
IgnisDa
IgnisDa2mo ago
yeah
Brody
Brody2mo ago
try 127.0.0.1
IgnisDa
IgnisDa2mo ago
it works this way locally and on fly so im wondering why it does not here.
Brody
Brody2mo ago
not sure, but please try
IgnisDa
IgnisDa2mo ago
yeah it is deploying. taking a lot of time for whatever reason Definitely should not be taking this much time its just a docker image
Brody
Brody2mo ago
Railway is aware of the slow downs and is continually improving it
IgnisDa
IgnisDa2mo ago
alright. its deployed. its still not working is there a way to ssh into the running service?
Brody
Brody2mo ago
there is not, please provide specific errors
IgnisDa
IgnisDa2mo ago
No description
Solution
Brody
Brody2mo ago
how do you know that the api is running on 0.0.0.0 and 8000
IgnisDa
IgnisDa2mo ago
Does railway inject a variable called PORT?
Brody
Brody2mo ago
yes
Want results from more Discord servers?
Add your server