Not to worry
For security Duplicati only listens on requests from localhost by default. You need to allow requests from other sources.
There’s two ways to do it:
- From the web API (you can’t unless you do ssh port forwarding or have a gui on the server)
- Update the systemd file to include the launch parameter
--webservice-interface=any
#2 is the easiest if you’ve already got the CLI open
First figure out where the Duplicati systemd service file is:
# systemctl status duplicati
● duplicati.service - Duplicati web-server
Loaded: loaded (/lib/systemd/system/duplicati.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-04-08 15:14:20 CEST; 2 days ago
The Loaded: loaded
line tells you the file location
Edit the file (vim, nano, etc)
# nano /lib/systemd/system/duplicati.service
In the file update the ExecStart
line to include --webservice-interface=any
The line will look like this:
ExecStart=/usr/bin/duplicati-server $DAEMON_OPTS --webservice-port=8200 --webservice-interface=any
--webservice-port=8200
may or may not be there. You can include it or leave it as is.
Oh and, of course, reload systemd and restart the service:
# sudo systemctl daemon-reload
# sudo systemctl restart duplicati
Edit: changed ‘webservice–listen-interface’ to ‘webservice-interface’