Unable to connect WebUI, on RasPi 2 B, syncthing v1.17.0

Today, I have install syncthing on windows_amd64 and its was working I was able to sync my windows-laptop with my android. My ISP allow only ipv6 and sync was perfectly of b/w android and windows-laptop on both 4g-data-packet and WiFi. but when I installed syncthing on raspi2b. I am unable to access Web UI on local network. I an access my raspi2b using ssh easily. here is output of of some bin

# Add the release PGP keys:
sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

# Add the "stable" channel to your APT sources:
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list

# Update and install syncthing:
sudo apt-get update
sudo apt-get install syncthing

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

pi@raspberrypi:~ $ syncthing
[start] 14:36:58 INFO: syncthing v1.17.0 "Fermium Flea" (go1.16.4 linux-arm) deb@build.syncthing.net 2021-05-22 19:38:49 UTC [noupgrade]
[TYKM3] 14:36:58 INFO: My ID: TYKM3TZ-GOV2KVX-CMUER76-W3LMD5P-UUAAYC7-4B5INAR-S7VHWFL-GM4EZAZ
[TYKM3] 14:36:59 INFO: Single thread SHA256 performance is 9.3 MB/s using crypto/sha256 (9.3 MB/s using minio/sha256-simd).
[TYKM3] 14:37:00 INFO: Hashing performance is 8.65 MB/s
[TYKM3] 14:37:00 INFO: Overall send rate is unlimited, receive rate is unlimited
[TYKM3] 14:37:00 INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
[TYKM3] 14:37:00 INFO: Using discovery mechanism: global discovery server https://discovery.syncthing.net/v2/?noannounce&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[TYKM3] 14:37:00 INFO: Using discovery mechanism: global discovery server https://discovery-v4.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[TYKM3] 14:37:00 INFO: Using discovery mechanism: global discovery server https://discovery-v6.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[TYKM3] 14:37:00 INFO: Using discovery mechanism: IPv4 local broadcast discoveryon port 21027
[TYKM3] 14:37:00 INFO: TCP listener ([::]:43565) starting
[TYKM3] 14:37:00 INFO: Using discovery mechanism: IPv6 local multicast discoveryon address [ff12::8384]:21027
[TYKM3] 14:37:00 INFO: QUIC listener ([::]:43565) starting2021/07/05 14:37:00 failed to sufficiently increase receive buffer size (was: 176 kiB, wanted: 2048 kiB, got:352 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
[TYKM3] 14:37:00 INFO: UPnP parse: malformed HTTP status code "*"
[TYKM3] 14:37:00 INFO: Ready to synchronize "Default Folder" (default) (sendreceive)
[TYKM3] 14:37:00 INFO: Completed initial scan of sendreceive folder "Default Folder" (default)
[TYKM3] 14:37:00 INFO: GUI and API listening on 127.0.0.1:8384
[TYKM3] 14:37:00 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/
[TYKM3] 14:37:00 INFO: My name is "raspberrypi"
[TYKM3] 14:37:10 INFO: Detected 0 NAT services
[TYKM3] 14:37:19 INFO: quic://0.0.0.0:43565 detected NAT type: Port restricted NAT
[TYKM3] 14:37:19 INFO: quic://0.0.0.0:43565 resolved external address quic://49.37.79.252:43565 (via stun.syncthing.net:3478)
[TYKM3] 14:38:23 INFO: Joined relay relay://118.189.177.157:22067 
[TYKM3] 14:41:50 INFO: Listen (BEP/tcp): TLS handshake: tls: first record does not look like a TLS handshake
[TYKM3] 14:41:51 INFO: Listen (BEP/tcp): TLS handshake: tls: first record does not look like a TLS handshake
[TYKM3] 14:41:56 INFO: Listen (BEP/tcp): TLS handshake: tls: first record does not look like a TLS handshake

pi@raspberrypi:~ $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:8b:b1:37 brd ff:ff:ff:ff:ff:ff
    inet 192.168.29.153/24 brd 192.168.29.255 scope global dynamic noprefixroute eth0
       valid_lft 3287sec preferred_lft 2679sec
    inet6 2405:201:a412:9052:bf38:f4bb:4b02:7523/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 3580sec preferred_lft 3580sec
    inet6 fe80::9545:c720:9fa9:a3b8/64 scope link
       valid_lft forever preferred_lft forever

I am using Raspbian-Lite-Buster spin, I think syncthing is binding with lo rather then eth0 which is causing all issue, but I don’t know how to change device.

By default syncthing only binds to loopback adapter, meaning the UI is only accessible from the device it’s running on, not from a remote machine.

This is covered in the FAQ.

Edit ~/.config/config.xml Search for 127.0.0.1 and replace with 0.0.0.0 and access web ui for local LAN after configuration/sync/setup change back to 127.0.0.1

This is what I did on raspi, my raspi have no public/golobal/ip4 assign

No country for old man.

No syncthing for pure cli user.

Sorry, your reply is not clear, I assume you’ve resolved your issue.

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