GUI doesn't start: connection refused

I am new to Syncthing, installed it some days ago according to https://apt.syncthing.net/ on a Ubuntu PC without problems. After installation of Syncthing for Android on my phone I wanted to start the configuration on my Ubuntu. But with Firefox and with Falkon/Chromium I get the message “ERR_CONNECTION_REFUSED”/”NS_ERROR_CONNECTION_REFUSED” while trying to GET http://localhost:8384/ - the same using 127.0.0.1 instead of localhost. I activated HTTP (instead of https) for this url, disabled the addons in Firefox - no change. To test the solution from a similar case in the forum I made a new profile in Firefox - same problem. My internet connection works.

Directly after the installation of Synthing the GUI came up correctly, in the meantime the PC was rebooted.

apt list shows this: syncthing/syncthing 2.0.13 amd64 syncthing/syncthing 2.0.12 amd64 syncthing/noble-apps-security,now 1.27.2~ds4-1ubuntu0.24.04.3+esm1 amd64 [installiert] syncthing/noble-updates,noble-security 1.27.2~ds4-1ubuntu0.24.04.3 amd64 syncthing/noble 1.27.2~ds4-1 amd64

Would be really great to get a hint how to make the GUI work.

What output do you get from lsof | grep 8384 ?

lsof | grep 8384 brings no output.

sudo lsof | grep 8384 brings

lsof: WARNING: can’t stat() fuse.portal file system /run/user/1000/doc Output information may be incomplete. lsof: WARNING: can’t stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete.

I tested on my Syncthing Device running Ubuntu. In your shoes I’d be sure that Syncthing isn’t running the GUI on TCP/8384 and Syncthing might not be running at all.

First, is Syncthing running? ps -ef | grep syncthing should show two different Syncthing processes.

If the Syncthing GUI is running on another port, lsof | grep syncthing | grep TCP should help.

If Syncthing isn’t running at all, how do you usually start it?

:woman_facepalming: O God, I am as dump as a post (I hope that is the fitting translation)!

Yes, you are right, I didn’t start Syncthing.

You just need to do it right to make it work…..

Thanks alot for helping anyway :folded_hands:

1 Like

In English we would say “Dumb as a post.” And you weren’t dumb, you made an understandable mistake. Glad to help!

1 Like

Thanks for the comprehension. Maybe there is an explanation for my mistake: I worked with resilio-sync for some years and resilio-sync starts automatically when the system starts. I had to give it up as it didn’t work any more with an upgraded OS on my RaspPi and I found Syncthing by chance a couple of days ago in search of a possibility to synchronize data between PC and phone. In a 2nd step I will try to make it work on my RaspPi :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.