cannot connect with private network
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)]
10 Replies
Project ID:
cd49dea2-7319-4e07-83a0-c0eb8a5af4c7
cd49dea2-7319-4e07-83a0-c0eb8a5af4c7
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...
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
Solution
you would need to listen on the
::
hostthank you Brody, all fixed now
awsome!
New reply sent from Help Station thread:
This helped me too, thanks!You're seeing this because this thread has been automatically linked to the Help Station thread.