Couldn't bind port 51413 on 192.168.1.xxx: Cannot assign requested address (net.c:371)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
transmission (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
When transmission-deamon is started automatically during system boot it doesn't download any files. In log-file i see this message: "Couldn't bind port 51413 on 192.168.1.xxx: Cannot assign requested address (net.c:371)". When i restart transmission-deamon with "sudo service transmission-daemon stop" and "sudo service transmission-daemon start" transmission-deamon works correctly and in log-file i see other message: "Bound socket 11 to port 51413 on 192.168.1.xxx (net.c:379)".
I changed in /etc/init/
A bug from 2015 and still "new". Nice – Here's a fix: daemon. service` and replace the line
Edit the systemd unit file with `sudo systemctl edit --full transmission-
> After=network. target
with the lines
> After=network- online. target online. target
> Wants=network-
With this, systemd should wait for the network to become fully available before starting the daemon.