We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qBittorrent v4.1.2 FreeBSD 11.2-RELEASE-p3 #4 r338638 Compiled from ports with nox
libtorrent-rasterbar: 1.1.9 qt5-core: 5.11.1
Error "Web UI: Unable to bind to IP: 42, port: 8080. Reason: The address is not available" at start with clean install without configs.
Bind to 0.0.0.0, instead of 42
If we look at https://github.com/qbittorrent/qBittorrent/blob/master/src/webui/webui.cpp#L96-L97, we can see "*" (asterisk) used as a default bind IP. And asterisk's ASCII code is 42. I think there's automatic type detection problem somewhere. Also, if we look at documentation, QHostAddress::Any is enum and not QHostAddress or string. Shouldn't code above
"*"
QHostAddress::Any
enum
QHostAddress
string
const auto address = (serverAddressString == "*" || serverAddressString.isEmpty()) ? QHostAddress::Any : QHostAddress(serverAddressString);
be like
const auto address = (serverAddressString == "*" || serverAddressString.isEmpty()) ? QHostAddress(QHostAddress::Any) : QHostAddress(serverAddressString);
instead?
Add
[Preferences] WebUI\Address=*
to .config/qBittorrent/qBittorrent.conf
.config/qBittorrent/qBittorrent.conf
The text was updated successfully, but these errors were encountered:
Thanks for the report! Already fixed in #9365, please wait for the next release (v4.1.3) or compile using our master branch.
Sorry, something went wrong.
No branches or pull requests
qBittorrent version and Operating System
qBittorrent v4.1.2
FreeBSD 11.2-RELEASE-p3 #4 r338638
Compiled from ports with nox
If on linux, libtorrent and Qt version
libtorrent-rasterbar: 1.1.9
qt5-core: 5.11.1
What is the problem
Error "Web UI: Unable to bind to IP: 42, port: 8080. Reason: The address is not available" at start with clean install without configs.
What is the expected behavior
Bind to 0.0.0.0, instead of 42
Steps to reproduce
Extra info
If we look at https://github.com/qbittorrent/qBittorrent/blob/master/src/webui/webui.cpp#L96-L97, we can see
"*"
(asterisk) used as a default bind IP. And asterisk's ASCII code is 42.I think there's automatic type detection problem somewhere.
Also, if we look at documentation,
QHostAddress::Any
isenum
and notQHostAddress
orstring
.Shouldn't code above
be like
instead?
Workaround
Add
to
.config/qBittorrent/qBittorrent.conf
The text was updated successfully, but these errors were encountered: