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
2 years ago
Is the service listening on ipv6?
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
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
2 years ago
awsome!
2 years ago
This helped me too, thanks!