Page 1 of 1

Incoming port changes everytime Deluge restarts (Random is deselected)

Posted: Sun Jun 23, 2024 10:14 am
by Pete748
Hey team,

I've been trying to follow some best practice guides for deluge however I keep running into this one issue stated in the subject line.

The incoming port for deluge changes every time it restarts, even when use random port is deselected. This is an issue because I have disabled UPnP on my router and deluge, and have setup a manual port forward. When I restart deluge for whatever reason I have to manually change the port forward on my router, which isn't the end of the world however most of the time I forget to do it.

I spend about 2/3 hours googling and came across this page where the person was having the same issue however back then I believe you could input a range for incoming port which solver their problem, now its just a single port.

https://dev.deluge-torrent.org/ticket/2353#no1

I'm running on unraid 6.12.10

I would appreciate any help.

Thank you

Re: Incoming port changes everytime Deluge restarts (Random is deselected)

Posted: Sun Jun 23, 2024 11:10 am
by mhertz
Sounds like deluge not closing properly, so to workaround then configure as wanted, then stop daemon manually from connection manager or deluge-console(deluge-console -c <YourConfigDir> halt), or edit core.conf directly with deluged stopped.

Edit: Sorry, rereading your post then if it actually starts up with random deselcted + port correctly defined, and still changing every time, then sorry not sure, please post logs and obviously make sure port actually free and available in first place so test with a few if not knowing how check that.

Re: Incoming port changes everytime Deluge restarts (Random is deselected)

Posted: Sun Jun 23, 2024 3:25 pm
by ambipro
Who's container are you using? It would likely be binhex or linuxserver...

I'd ask you to provide your compose, you can generate this from the Unraid terminal

Code: Select all

sudo docker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose deluge
You may have to adjust "deluge" at the end to "binhex-deluge" or whatever the container name is set to, but it should spit out a bunch of stuff for you.

If you are using a VPN container be sure to remove any sensitive information before posting.