anacrolix / torrent

Full-featured BitTorrent client package and utilities
Mozilla Public License 2.0
5.39k stars 615 forks source link

listen tcp6 :42069: socket: address family not supported by protocol #900

Closed voidastro4 closed 2 months ago

voidastro4 commented 5 months ago

On linux when ipv6 is disabled in the kernel, the torrent binary (cmd) fails: error running main: creating client: subsequent listen: listen tcp6 :42069: socket: address family not supported by protocol

It would be nice if the cmd or library could detect lack of ipv6 and fall back to ipv4?

anacrolix commented 5 months ago

The workaround for now is to disable IPv6 using a flag.

anacrolix commented 4 months ago

I have a probable fix for this on master, can you please try it?

anacrolix commented 2 months ago

I think this was closed downstream.