lgallard / qBittorrent-Controller

qBittorrent Controller - An Android app for controlling qBittorrent servers
MIT License
286 stars 58 forks source link

qBittorrent Controller can't connect to qBittorrent client on LAN #281

Open ChuongPham opened 2 years ago

ChuongPham commented 2 years ago

Hi,

qBittorrent Controller v4.9.2 cannot connect to my qBittorrent client on the local area network, but using the exact same credentials via a web browser interface works fine:

What works:

  1. Using Mozilla Firefox to access my qBittorrent client at 192.168.0.2:8080 works fine.

What does not work:

  1. Using qBittorrent Controller app in Android phone to access my qBittorrent client at 192.168.0.2:8080 does not work. Got a toast about "Connection error". I used LanDroid (another Android app) to ping 192.168.0.2 and no packets were lost, so I can definitely connect to my qBittorrent client on the Windows desktop.

My computer configs are:

  1. Windows 10 64-bit Pro.
  2. qBittorrent client v4.4.2.
  3. qBittorrent Controller v4.9.2 (Android app)
  4. Android mobile phone running Android 10.
  5. Change port to 8080 or another port like 37542 via router's port forwarding option, via qBittorrent's Web UI's option and via qBittorrent Controller Android app's option, but it still does not resolve connection issue.

I've already followed qBittorrent's FAQ, suggestions, hints, etc, but can't get the qBittorrent Controller to connect to my qBittorrent client. I don't see a logging option in qBittorrent Controller v4.9.2 Android app so I can't troubleshoot the connection error myself, or post the logs here!

My current workaround is using the web browser interface on my Android mobile phone to control my qBittorrent client on the Windows desktop.

Please include a logging option in the next release of qBittorrent Controller app.

Barsonax commented 2 years ago

Iam having the same problem

dakush commented 1 year ago

Same problem. I can access my server from any browser and even with other Android apps (e.g. Transdroid) but with qbittorrent controller I get a "Server not found" toast every time.

Edit: Now I get a 404 toast, but I can still access my server from any other app or browser

chepe263 commented 1 year ago

If you are using ssl your port number is probably 443 instead of 80 or 8080