mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Web UI tries to bind to IP "42" by default #7745
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#7745
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adduxa on GitHub (Sep 14, 2018).
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::Anyisenumand notQHostAddressorstring.Shouldn't code above
be like
instead?
Workaround
Add
to
.config/qBittorrent/qBittorrent.conf@Chocobo1 commented on GitHub (Sep 14, 2018):
Thanks for the report!
Already fixed in #9365, please wait for the next release (v4.1.3) or compile using our master branch.