Syncthing Fork listen address ports?

Hello, I’m migrating from legacy android client to Syncthing-Fork as part of migration to v2. I’m noticing Syncthing-Fork’s listen address ports (below) appear different than what’s mentioned in documentation (22000). Is this known? Will statically setting the addresses as in the documentation cause a connection failure? What is advised?

tcp://0.0.0.0:40199, dynamic+https://relays.syncthing.net/endpoint, quic://0.0.0.0:40199

Thanks.

Syncthing will pick a random port at first startup if 22000 is already taken by something else. My guess is you perhaps had the previous installation running when doing the new installation? In any case, shutting down the old installation and reconfiguring the new one to use the default listen addresses should be fine.

Ah, okay, yes. I had stopped all the shares and devices on the other install, but the service I think was still running.

Many thanks.

1 Like

Syncthing-Fork release flavor uses default ports, debug builds use 22001 (and similar) to avoid conflicts if two might run in parallel.

1 Like

Thanks very much. Yes, it was due to port conflict with the legacy app install. Once legacy was uninstalled, was able to set STF to the normal ports. Thanks.

1 Like