alexbers / mtprotoproxy

Async MTProto proxy for Telegram
MIT License
1.59k stars 351 forks source link

Unable to connect to 2001:b28:f23f:f005::a 443- ipV4 and ipv6 problem #251

Closed lion-goose closed 3 years ago

lion-goose commented 3 years ago

Suddenly a problem occurred today. At first I thought the port was blocked. After checking the log, it seems that the ipv6 API cannot be connected.

捕获

My internet was ipV4 only and I would like to know how to solve it? How can I modify it as I am not familiar with coding Thanks.

seriyps commented 3 years ago

You can add

PREFER_IPV6 = False

to your config.py

lion-goose commented 3 years ago

You can add

PREFER_IPV6 = False

to your config.py

thank you very much for your help! This problem is solved!