[Solved] : Unable to access the web-server

Hello everybody (excuse my poor english by advance),

I’ve tried duplicati for a backup of a windows PC to a Linux server (through SSH) and it’s work great !

Now I am trying to set a backup of an HDD mounted on a Linux server (headless with ssh access and for OS Armbian) to an other Linux server (headless with ssh access) and I am facing difficulties.
I can’t acces to the web-server using local_IP_of_the_server_with_duplicati:8400 or using the public IP or the domain name.

I have :

  • install duplicati on the server I want to backup (Odroid N2+ an ARM card with armbian for OS) just in installing the .deb ;
  • configure the duplicati.service like this :

[Unit]
Description=Duplicati web-server
After=network.target

[Service]
Nice=19
IOSchedulingClass=idle
EnvironmentFile=-/etc/default/duplicati
ExecStart=/usr/bin/duplicati-server $DAEMON_OPTS --webservice-port=8400 --webservice-listen-interface=any
Restart=always

[Install]
WantedBy=multi-user.target

  • open my 8400 port on my router and firewall of the server I want to backup ;
  • done this command : systemctl status duplicati

with this output :

duplicati.service - Duplicati web-server
Loaded: loaded (/lib/systemd/system/duplicati.service; disabled; vendor preset: enabled)
Active: active (running) since Wed 2021-02-17 14:15:16 CET; 22s ago
Main PID: 12431 (mono)
Tasks: 18 (limit: 3259)
Memory: 50.9M
CGroup: /system.slice/duplicati.service
├─12431 DuplicatiServer /usr/lib/duplicati/Duplicati.Server.exe --webservice-port=8400 --webservice-listen-interface=any
└─12444 /usr/bin/mono-sgen /usr/lib/duplicati/Duplicati.Server.exe --webservice-port=8400 --webservice-listen-interface=any

  • and this command : lsof -i :8400 | grep LISTEN
    with this output :
    mono-sgen 12444 root 8u IPv4 7064862 0t0 TCP localhost:8400 (LISTEN)

Is it an obligation to use localhos:8400 to connect to the web server ? How can I do to access to the web server with my configuration.

Thanks a lot for your great soft and by advance for your help.

OK Sorry that was simple : I WAS USING --WEBSERVICE-LISTEN-INTERFACE instead of using --WEBSERVICE-INTERFACE

Sorry again

1 Like

Thanks for following up and glad you figured it out! That incorrect parameter name has tricked a few people lately!

Yep, same here. I think it’s worth finding on the forum and in such doc as exists, and expunging it.

2 Likes