I have a remote host using Ubuntu Server 20.04 running Syncthing. For some reason, I can only access the Syncthing gui remotely through an ssh binding using
ssh -L 9090:127.0.0.1:8384 user@remote_host_ip
I cannot get the gui using
This the case whether my ufw firewall is up or down (locally, remotely, and both), but I have rules set on the remote machine to allow port 8384 using the syncthing-gui profile, as well as the port forwarded on my local router. The syncthing server works, as I’ve already synced a folder, but I don’t want to have to use a ssh binding every time I want to graphically administer the server.
Some test results:
run on remote host
netstat -npl | grep 8384
tcp6 0 0 :::8384 :::* LISTEN 63517/syncthing
run on local host:
nping -g 8384 remote_host_ip
SENT (3.0088s) Starting TCP Handshake > remote_host_ip:80 RCVD (3.0437s) Handshake with remote_host_ip completed libnsock mksock_bind_addr(): Bind to 0.0.0.0:8384 failed (IOD #5): Address already in use (98) Max rtt: 37.149ms | Min rtt: 34.916ms | Avg rtt: 35.803ms TCP connection attempts: 5 | Successful connections: 5 | Failed: 0 (0.00%) Nping done: 1 IP address pinged in 4.05 seconds
This is a process list filtered for syncthing run on the remote host:
user 63500 0.0 0.8 120560 4992 ? Ssl 23:08 0:00 /usr/bin/syncthing -no-browser -no-restart -logflags=0 user 63517 0.2 5.5 122800 32668 ? SNl 23:08 0:04 /usr/bin/syncthing -no-browser -no-restart -logflags=0
Thanks in advance for any help!