Romulus
(Allan De Bono)
June 26, 2015, 8:56pm
1
[X4D4K] 13:53:24 INFO: Database block cache capacity 65536 KiB
[X4D4K] 13:53:24 OK: Ready to synchronize Download (read-write)
[X4D4K] 13:53:24 INFO: Starting web GUI on http://127.0.0.1:80/
[X4D4K] 13:53:24 INFO: Completed initial scan (rw) of folder Download
[X4D4K] 13:53:24 FATAL: Cannot start GUI: listen tcp 127.0.0.1:80: bind: permission denied
Edit. The devil is it never creates a config file and when I use homebrew to uninstall some remnant of a configuration is carried over.
Please provide help.
Thank you
calmh
(Jakob Borg)
June 26, 2015, 9:00pm
2
The config is in ~/Library/Application Support/Syncthing/config.xml
. Open it and replace the port number and you should be fine.
Romulus
(Allan De Bono)
June 26, 2015, 9:03pm
3
Thank you this worked perfectly.
1 Like
kraghupathi
(Raghupathi Kammari)
February 16, 2017, 7:03am
4
Hello,
Does it works 80 port on syncthing application ?
When I tried port number from https://127.0.0.1:8080/ to https://127.0.0.1:80/ I am getting following error
[AUUF5] 12:09:24 FATAL: Starting API/GUI: listen tcp 0.0.0.0:80: bind: permission denied
[monitor] 12:09:24 INFO: Syncthing exited: exit status 1
[monitor] 12:09:25 INFO: Starting syncthing
[AUUF5] 12:09:25 INFO: syncthing v0.14.21 “Dysprosium Dragonfly” (go1.8rc2 linux-amd64) jenkins@build.syncthing.net 2017-01-25 07:33:35 UTC
[AUUF5] 12:09:25 INFO: My ID: AUUF5YM-LJ4QWM6-3NMSEGL-CEA4NF4-65XKCNB-IJKYMF5-335AWWA-3XH5MQN
[AUUF5] 12:09:26 INFO: Single thread SHA256 performance is 353 MB/s using minio/sha256-simd (348 MB/s using crypto/sha256).
[AUUF5] 12:09:27 INFO: Actual hashing performance is 294.52 MB/s
[AUUF5] 12:09:27 INFO: Ready to synchronize “Default Folder” (default) (readonly)
calmh
(Jakob Borg)
February 16, 2017, 7:19am
5
Port numbers below 1024 are privileged ports and can’t be opened by non-privileged processes.
2 Likes
kraghupathi
(Raghupathi Kammari)
February 16, 2017, 7:40am
6
Actually I installed on user account
If I install syncthing in root is it working with port 80?
calmh
(Jakob Borg)
February 16, 2017, 8:19am
7
Do not install Syncthing as root for this purpose. If you very much need the GUI on port 80, put it behind a real webserver, use iptables or similar to do a port forward, or give it the cap_net_bind_service
capability.
1 Like