Unable to connect An error occurred during a connection to 127.0.0.1:8384.

Suddenly, syncthing has stopped working on one of my laptops on which it has been working just fine. As far as I know there has been no change on that laptop.

I am using Firefox in Windows 10. When I try to open the syncthing page on Firefox I get:

Unable to connect An error occurred during a connection to 127.0.0.1:8384.

I looked for fixes on the net but I could not find one. I am a knowledgeable end user, not a programmer/techie, but this is too technical for me.

Please help. Thanx.

My first guess would be that Syncthing isn’t running.

1 Like

Thanx for responding.

Obviously it is not running. The question is why? It was running fine, no change at my end, WHY it’s not running? And how do I fix this?

I checked the log file and found the following:

[WZ2FC] 2024/08/28 16:18:30 INFO: Support for IPv6 UPnP is currently not available on Windows: listen udp6 [ff05::c]:0: setsockopt: not supported by windows

but the date is not of today. I dk what caused this, I sure did not change anything,

Attached is the whole log. syncthing.log (588.0 KB)

Could this be the problem and how do I fix it?

Questions for you, @sgeneris:

  1. Is Syncthing set up to run on boot? Using Task Scheduler or some other way?
  2. Have you rebooted since experiencing this issue?
  3. Is Syncthing running? Check Task Manager. There should be two processes.
  4. Please open a Terminal/Powershell/Command window as Administrator and run “netstat -rn | inc 8384” and post the results back here.

Please netstat -rn | inc 8384 and set the boot menu

  • Not @boot.
  • No task scheduler – I just load syncthing.exe
  • Rebooted – did not help.
  • AFAICT is not running – no task named syncthing
  • C:\Windows\system32>netstat -rn | inc 8384 ‘inc’ is not recognized as an internal or external command, operable program or batch file.

I did some more trial and error:

Until now it worked when I loaded ConfigurationPage, but now I get the error when I loaded it.

However, when I load syncthing.exe directly, it does work, but it also opens a command window. Is there any way to stop the command window from opening?

How do you start it normally (if not “directly” and not with Task Scheduler)?

1 Like

See Syncthing — Syncthing documentation for the command line switch that turns off the console.

It turns out I was all the way wrong in how to use “netstat” on Windows – my apologies.

“netstat -an | findstr 8384” is the command I meant to share with you for both PowerShell and a regular Command prompt. This will show you if anything on your Windows computer is using that port.

Thanx.

Since I do not recall how I was starting it differently (and it worked), I will assume I do not recall correctly and now I do.

Thanx for your help.

1 Like