Page 1 of 1

[Solved] listen_interface setting doesn't seem to work

Posted: Wed Jan 02, 2013 2:21 am
by ricksebak
I have deluge-daemon working correctly on localhost, but it won't listen for any connections other than on 127.0.0.1 (loopback). For example:

Code: Select all

root@ubuntuvm1:/# deluged -v
deluged: 1.3.5
libtorrent: 0.15.10.0

root@ubuntuvm1:/# grep 'remote\|listen_interface' /var/lib/deluge/.config/deluge/core.conf
  "allow_remote": True, 
  "listen_interface": "192.168.1.106", 


root@ubuntuvm1:/# /etc/init.d/deluge-daemon restart
 * Restarting Deluge Daemon deluged                                      [ OK ] 

root@ubuntuvm1:/# netstat -an | grep 58846
tcp        0      0 127.0.0.1:58846         0.0.0.0:*               LISTEN     

root@ubuntuvm1:/# telnet 127.0.0.1 58846
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
quit
Connection closed by foreign host.

root@ubuntuvm1:/# telnet 192.168.1.106 58846
Trying 192.168.1.106...
telnet: Unable to connect to remote host: Connection refused
Does anyone know how to make deluged listen on the IP I told it to listen on?

Re: listen_interface setting doesn't seem to work

Posted: Wed Jan 02, 2013 3:04 am
by ricksebak
Also, this is weird, although it may or may not be related.

If I set allow_remote to True (with a capital T), I get the results I listed above and remote access doesn't work. If I set it to true (lowercase t), then restart deluged, my changes get wiped out (and remote access still doesn't work, obviously):

Code: Select all


root@ubuntuvm1:/# grep 'remote\|listen_interface' /var/lib/deluge/.config/deluge/core.conf
  "allow_remote": true, 
  "listen_interface": "192.168.1.106", 

root@ubuntuvm1:/# /etc/init.d/deluge-daemon restart
 * Restarting Deluge Daemon deluged                                      [ OK ] 

root@ubuntuvm1:/# grep 'remote\|listen_interface' /var/lib/deluge/.config/deluge/core.conf
  "allow_remote": false, 
  "listen_interface": ""

Re: listen_interface setting doesn't seem to work

Posted: Wed Jan 02, 2013 10:10 am
by Cas
listen_interface is for torrents, you need to set the `--ui-interface` option when starting deluged.

bool settings should be initial capitalized.

Re: listen_interface setting doesn't seem to work

Posted: Wed Jan 02, 2013 11:50 pm
by ricksebak
That worked, thanks!