Page 1 of 1

nox web UI: listen on http://127.0.0.1:8080, instead of http://0.0.0.0:8080

Posted: Sat Nov 12, 2016 8:50 pm
by martin.vegter9
man qbittorrent-nox says that, "Web UI is accessible as a default on http://localhost:8080"

However, when I start qbittorrent-nox, te UI actually listens onĀ  http://0.0.0.0:8080, which means that it is accessible over the network.

How can I change the UI to listen on http://127.0.0.1:8080 only ?

Re: nox web UI: listen on http://127.0.0.1:8080, instead of http://0.0.0.0:8080

Posted: Sun Nov 13, 2016 4:08 am
by KitKat
0.0.0.0 means all IP addresses on the local machine
Its network accessable if someone knows your local IP address, it isnt internet accessible unless you port-forward.

Re: nox web UI: listen on http://127.0.0.1:8080, instead of http://0.0.0.0:8080

Posted: Fri Dec 02, 2016 4:51 pm
by doctoralex
Lol :)

Just to confirm what kitkat said, from an internet isolated machine:
root@xxxx:~# ping 0.0.0.0
PING 0.0.0.0 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.046 ms

Re: nox web UI: listen on http://127.0.0.1:8080, instead of http://0.0.0.0:8080

Posted: Sun Dec 04, 2016 12:43 pm
by KitKat
Just realized i didn't answer his question.

To make that change you'd have to recompile the application with the change made as its hardcoded.
Not exactly sure where the code responsible is or whether its even changeable as i havent looked at the WebUI codebase and a quick search didn't return results.
The reason for that hardcode is because it means the client listens on localhost:8080, 127.0.0.1:8080 <yourlocalip>:8080 which makes it LAN accessible (run qbittorent nox on a local server, how do i access it without been on the server!?)

A toggle would be fairly meaningless as if you're that concerned about someone on the LAN accessing your (passworded) WebUI you can setup local firewall rules to block LAN-to-LAN traffic on port :8080 as no essential system services use that port for any OS's i can think of.. (exempt the router or you may have issues browsing the internet)