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)]
Solution:
you would need to listen on the :: host
Jump to solution
10 Replies
Percy
Percy4mo ago
Project ID: cd49dea2-7319-4e07-83a0-c0eb8a5af4c7
Smiling General
Smiling GeneralOP4mo ago
cd49dea2-7319-4e07-83a0-c0eb8a5af4c7
Brody
Brody4mo ago
Is the service listening on ipv6?
Smiling General
Smiling GeneralOP4mo 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...
Brody
Brody4mo ago
please make sure the service is listing on ipv6 as the private network is ipv6 only
Smiling General
Smiling GeneralOP4mo 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
Solution
Brody
Brody4mo ago
you would need to listen on the :: host
Smiling General
Smiling GeneralOP4mo ago
thank you Brody, all fixed now
Brody
Brody4mo ago
awsome!
Duchess
Duchess4mo ago
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.
Want results from more Discord servers?
Add your server