Page 1 of 1

How to change listening port via CLI

Posted: Tue May 28, 2024 2:50 pm
by wejej
Hi!

I'm trying to figure out how to change the listening port from 6881 to a random digit automatically. From the below requests, it looks like this feature has been added, but I can't figure out the usage.

https://github.com/qbittorrent/qBittorrent/issues/17789
https://github.com/qbittorrent/qBittorrent/pull/17862
https://github.com/qbittorrent/qBittorrent/issues/13453

Re: How to change listening port via CLI

Posted: Mon Jun 03, 2024 7:00 am
by Peter
To a random one?
Write a simple script where you include a random port generated. Add that to the command line call and that's all.