I installed SyncThing on a Centos 7 headless VPS server and the ssh connection is successful, however when I try to open 127.0.0.1:9090 in a browser the page doesn’t load and the ssh session throws the following error:
channel 3: open failed: connect failed: Connection refused
The issue was described here before here: issue with ssh forwarding but I do not clearly know what steps to follow in this case to get to a solution.
Please post the actual command or configuration you used to set up the SSH tunnel. Syncthing by default listens on port 8384 for GUI access. So at least on the remote system, that’s the port you need to specify probably.
Looks like the configuration for what port the GUI should listen to is malformed, containing an extra quote character. Check config.xml and correct as required.
As @calmh pointed out, apparently the service doesn’t even start because of a malformed address in config.xml.
In your initial post, you said the browser refused to connect on port 9090, while your SSH command uses port 9092.
If you run syncthing cli errors show on your local device, you need to pass --gui-address, in your case the forwarded local port localhost:9092, and --gui-apikey with the API key of the remote machine where syncthing runs.
If you run the same command on the remote machine and it shows connection refused, then Syncthing is indeed most probably not running.