cannot connect with private network
farrelramdhani
PROOP

2 years ago

Hello, I'm trying to connect with private network for my API, perhaps this question is similar to another private network question but I want to connect two private network for my API and one of them is fine but the other got the error: Cannot connect to host INTERNAL_URL:8080 ssl:default [Connect call failed ('fd12:f249:9ec7::47:cd06:94a6', 8080, 0, 0)]

9 Replies

farrelramdhani
PROOP

2 years ago

cd49dea2-7319-4e07-83a0-c0eb8a5af4c7


2 years ago

Is the service listening on ipv6?


farrelramdhani
PROOP

2 years ago

i suppose…

I hard coded the url of the private network of another instance into the environmental variable, not sure if its a good idea tho…


2 years ago

please make sure the service is listing on ipv6 as the private network is ipv6 only


farrelramdhani
PROOP

2 years ago

how do I make sure that the service is listing on ipv6 on python? the instance is using python FastAPI library and requesting the other instance using requests

the url for calling looks like this: example.railway.internal:8080/api-endpoint


2 years ago

you would need to listen on the :: host


farrelramdhani
PROOP

2 years ago

thank you Brody, all fixed now


2 years ago

awsome!


rgmvisser
PRO

2 years ago

This helped me too, thanks!


Loading...