Incorrect Port

General support for problems installing or using Deluge
Post Reply
hellfire51
New User
New User
Posts: 3
Joined: Sat Feb 21, 2009 8:10 pm

Incorrect Port

Post by hellfire51 »

I am located behind NAT, and so I have had Deluge configured to use a specific port for incoming connections. I noticed after upgrading that I was getting "No Incoming Connections" so I went into the settings to see if it maybe forgot. Despite the fact that I have "Use Random Ports" for incoming unchecked, and a port I want it to use specified it says the active port is some random port that I never told it to use. Am I doing something wrong or is this a bug?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Incorrect Port

Post by andar »

Deluge will use a random port if none of ports within your selected range are available.
hellfire51
New User
New User
Posts: 3
Joined: Sat Feb 21, 2009 8:10 pm

Re: Incorrect Port

Post by hellfire51 »

Thanks for the help. I guess I wasn't expecting that behavior. I restarted and it worked, something must have bound the port. Problem is this now, after restarting my computer and relaunching deluge, it seems to have lost about the last 10 torrents that I downloaded... They are complete in the completed folder, but now deluge wants to redownload them. How can I make it realize that they are completed and seed again? Is there some way to import the data? I have tried copying the folders back from my "Completed" folder to my "Incomplete" folder and readding the .torrent -- didn't work, also tried "Move storage" and pointing it to the completed files.
volenin
New User
New User
Posts: 4
Joined: Tue Feb 24, 2009 4:40 am

Re: Incorrect Port

Post by volenin »

Hi,

I'm actually having similar issue - either I'm misunderstanding the meaning of the configuration or it's not working properly.

In the 'Network / Ports' configuration (http://eagle:8112/config/ports) I want to setup a range of ports, lets say 'From' 55000 'To' 60000, which Deluge can use to startup a listening socket on. I also want Deluge to pick up a random number from this range on each restart (ie, on each start of Deluge, the port can be anything from 55K to 60K). For that, I'm checking off 'Random' flag. Nevertheless, if the 'Random' flag is checked, then the generated port number is not contained within the bounds specified (4 out 5 times it is, but occasionally it would go beyond 60K or below 55K). If the 'Random' flag is NOT checked, then the generated port number is always the lower bound (ie, 55000).

Am I interpreting the meaning of this configuration correctly? Basically what I'm looking for is for Deluge to vary the port number from time to time (to avoid ISP shaping, if there is any - not really sure), but still keep it within the limits, so that I don't have to enable UPnP feature and can instead setup Port Forwarding range on my router.

Thanks!

Vlad
Post Reply