#1066: Deluge won't bind incoming ports
----------------------+-----------------------------------------------------
  Reporter:  mariusk  |       Owner:  andar   
      Type:  bug      |      Status:  reopened
  Priority:  major    |   Milestone:          
 Component:  core     |     Version:  1.2.3   
Resolution:           |    Keywords:          
----------------------+-----------------------------------------------------

Comment(by thekev):

 Having the same issue here.  Occurs on 1.2.2 and 1.3.1.  My range is
 configured for 52001-52009.  Will not use a random port either.

 Reproduce:

 netstat -nPi4 | grep deluge | grep LISTEN
 {{{
 deluged   32262 kevin    8u  IPv4 19677168      0t0  TCP 127.0.0.1:58846
 (LISTEN)
 deluged   32262 kevin   24u  IPv4 19679972      0t0  TCP *:9992 (LISTEN)
 }}}
 58846 = Daemon RPC, 9992 = WebUI

 Hmm, I just got to thinking... what happens if I remove the 'interface'
 declaration (set to eth1):
 {{{
 deluged   32262 kevin    8u  IPv4 19677168      0t0  TCP 127.0.0.1:58846
 (LISTEN)
 deluged   32262 kevin   24u  IPv4 19685133      0t0  TCP *:9992 (LISTEN)
 deluged   32262 kevin   34u  IPv4 19685135      0t0  TCP *:52001 (LISTEN)
 }}}
 Well lookie there!  How about a random port?
 {{{
 deluged   32262 kevin    8u  IPv4 19677168      0t0  TCP 127.0.0.1:58846
 (LISTEN)
 deluged   32262 kevin   24u  IPv4 19687214      0t0  TCP *:9992 (LISTEN)
 deluged   32262 kevin   34u  IPv4 19687216      0t0  TCP *:59633 (LISTEN)
 }}}
 Ok, now put the interface declaration back in, and go back to port range:
 {{{
 deluged   32262 kevin    8u  IPv4 19677168      0t0  TCP 127.0.0.1:58846
 (LISTEN)
 deluged   32262 kevin   24u  IPv4 19687986      0t0  TCP *:9992 (LISTEN)
 deluged   32262 kevin   34u  IPv4 19687216      0t0  TCP *:59633 (LISTEN)
 }}}
 Nope.  Stuck:
 {{{
 deluged   32262 kevin    8u  IPv4 19677168      0t0  TCP 127.0.0.1:58846
 (LISTEN)
 deluged   32262 kevin   24u  IPv4 19687986      0t0  TCP *:9992 (LISTEN)
 deluged   32262 kevin   34u  IPv4 19687216      0t0  TCP *:59633 (LISTEN)
 }}}
 Restart daemon?
 {{{
 deluged   32455 kevin    8u  IPv4 19688448      0t0  TCP 127.0.0.1:58846
 (LISTEN)
 deluged   32455 kevin   28u  IPv4 19688474      0t0  TCP *:9992 (LISTEN)
 }}}
 Gone.  Remove interface, go back to port range, restart daemon:
 {{{
 deluged   32477 kevin    8u  IPv4 19689573      0t0  TCP 127.0.0.1:58846
 (LISTEN)
 deluged   32477 kevin    9u  IPv4 19689577      0t0  TCP *:52001 (LISTEN)
 deluged   32477 kevin   29u  IPv4 19689614      0t0  TCP *:9992 (LISTEN)
 }}}

 '''BINGO'''

 Workaround: don't specify a listen_interface.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1066#comment:8>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to