Help Center

What ports and protocols are used by Sync?

Sync uses various ports and protocols to function and connect peers. Depending on the network your peers are in, these shall be open and let traffic through, in and out, on either side:

 1. First Sync needs to learn addresses of tracker and relay servers. For that it must be able download and parse sync.conf file.  Discovery of tracker and relay IPs: 
 - HTTPS, port 80: access to config file via DNS name.

2. Once tracker and relay are known, Sync must be able to connect to tracker so as to communicate its own IP address (public and local) to it and learn IP addresses of other peers from it.
- Connecting to the tracker server for automatic peer discovery: TCP and UDP, relevant port and addresses are here

3. Once Sync learns addresses of other peers, it will attempt to connect by these addresses directly, using both TCP and UDP. To make it possible, Sync's listening port, as defined in settings, must be opened and forwarded on all firewalls, NATs and routers between the peers.

4. If direct connection is not possible, Sync will switch to indirect connection through relay server. 
- Connecting to relay server to transfer data if direct connection is not possible: TCP, relevant port and addresses are here.

5. If peers are located in LAN, Sync can do without tracker and relays, provided peers are discovered through broadcast packets. Peer discovery in LAN:
 - Multicast UDP, over port 3838
 - Broadcasts,
If broadcasts are not configured, Sync will be using tracker to discover other peers. 

To ease port mapping, automatic port mapping over UPnP and NAT-PMP can be configured in router
 - UDP, multicast to port 1900
 - UDP, unicast to default gateway port 5351

Was the article helpful? Yes / No, send feedback on article Thanks!

Please note that we won't mail you back. This is just purely feedback on the article above. If you need help from our Support Team, please use the "Contact Support" link at the top of the page or click here.