Hi there. When trying to connect to the GUI on a remote device with SSH dynamic and localhost port forwarding get this in auth.log (on the remote device).
error: connect_to 127.0.0.1 port 8384: failed.
Tried localhost too.
Netstat shows on remote device:
tcp 0 0 127.0.0.1:8384 0.0.0.0:* LISTEN
Since remote device is server without GUI cannot try to login with local web browser to see if issue persists. Yes this seems to be a server issue but wondering if it has anything to do with running Syncthing as a non-root user on a 32-bit machine, ect, or if anyone else has experienced a similar issue?
What SSH client are you using on your local machine? How are you setting up the connection? I use PuTTY on Windows and this is how I set up the SSH port forwarding to access the remote Syncthing GUI from my local computer:
After connecting with these settings, http://localhost:8385/ on my local computer shows the remote Syncthing GUI.
OpenSSH with the following config file:
LocalForward 9999 localhost:8384
Or just ssh -L 9999:127.0.0.1:8384 user@server
Since the remote device shows a connection failure to 127.0.0.1 port 8384 in the auth.log of the remote device it is probably an issue on the remote device side.
By the way. Take a look at KiTTY (http://www.9bis.net/kitty/). Fork of PuTTY that is better (with autologins).
As with most things solution was simple. Was firewall issue. Adding below resolved.
-A INPUT -i lo -j ACCEPT
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.