Hi there,
Seems to be a big question for many users and I first wanted to give up because it seemed to be impossible to get a connection, but now I’m not sure.
What I have:
An ever-running “Server” at home. Ports 22000 (TCP) and 21027 (UDP) open on router. dyndns-Adress available.
A Client at office behind a very strict firewall. Added my “home server” and entered tcp :// mydyndns. athomeadress. com:22000 instead of “dynamic” (“dynamic” didn’t work to get anything working) as adress and now I get an error “connection refused” at office.
Checked log at home and there seems to be some kind of connection to my home machine because the log at home shows the identifier from the office’s machine with error message “negative cache entry”. Office’s firewall doesn’t seem to be the problem.
Found a post that my home server checks the identifier of the office machine on the discovery servers and the office machine doesn’t seem to announce its identifier there. Am I right?
Log of the office machine says e.g. “announce POST: Post “https : / / discovery-v4 .syncthing .net /v2/”: dial tcp 139.59.84.212:443: connect: connection refused” But how can that be? I can connect via Port 22000 through our strict firewall to my home machine but I can’t connect so this simple HTTPS-address? I even can’t open https : / / discovery-v4 .syncthing.net /v2/ or https : / / 139.59. 84.212 :443/v2/ in my browser. Shows error message PR_END_OF_FILE_ERROR But I have no problem to open https:// www. google. com, of course. And https : / / discovery-v4 .syncthing. net/v2/ on my mobile phone first gives me a certificate warning and then a blank “Not found” message.
Any ideas on this? Or could I get my home server not to check the identifier of my office syncthing instance on the discovery servers? Or how to turn off discovery function? (I only sync to devices in LAN and this one device in my office which has a static IP. Seems I don’t need any discovery server?)
(Sorry for the spaces in the URLs but I got an error message, that new users only post two links in one post and my spaces were able to bypass that, fortunatelly)