sweetbbak / toru

Bittorrent streaming CLI tool. Stream anime torrents, real-time with no waiting for downloads.
MIT License
281 stars 8 forks source link

Port already in use error. #6

Closed kotenok2000 closed 7 months ago

kotenok2000 commented 8 months ago

2024/03/09 17:06:29 error creating a new torrent client: first listen: listen tcp4 :42069: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

I have lantern using this port.

sweetbbak commented 8 months ago

Thanks for the issue, I overlooked adding that as an option. I still need to do more testing but I pushed a fix to main lol and added the option "--torrent-port" Im trying to work on some consistency since the torrent lib needs a range of tcp and udp ports.