# Relay Server - connecting when not enabled

**URL:** https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321
**Category:** Development
**Created:** [May 10, 2016, 5:53am UTC](https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321 "2016-05-10T05:53:50Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![stealth](https://forum.syncthing.net/user_avatar/forum.syncthing.net/stealth/32/2665_2.png) [@stealth](https://forum.syncthing.net/u/stealth)
#### Post date: [May 10, 2016, 5:53am UTC](https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321/1 "2016-05-10T05:53:50Z")

</div>

Hi,

I am testing out 0.13.0-beta4 and seeing strange behaviour with relay servers.

note: i upgraded from 0.12 -\> 0.13 if that makes a difference

in my config its completely disabled however on running syncthing it connects to a relay server anyway:

```
[JEAQ4] 05:43:17 INFO: Joined relay relay://111.221.44.148:17602 [...]

```

config options as returned by rest/system/config:

```
  "options": {
    "listenAddresses": [
      "default"
    ],
    "globalAnnounceServers": [
      ""
    ],
    "globalAnnounceEnabled": false,
    "localAnnounceEnabled": false,
    "localAnnouncePort": 21027,
    "localAnnounceMCAddr": "[ff12::8384]:21027",
    "maxSendKbps": 0,
    "maxRecvKbps": 0,
    "reconnectionIntervalS": 60,
    "relayReconnectIntervalM": 10,
    "startBrowser": true,
    "natEnabled": false,
    "natLeaseMinutes": 60,
    "natRenewalMinutes": 30,
    "natTimeoutSeconds": 10,
    "urAccepted": -1,
    "urUniqueId": "",
    "urURL": "https://data.syncthing.net/newdata",
    "urPostInsecurely": false,
    "urInitialDelayS": 1800,
    "restartOnWakeup": true,
    "autoUpgradeIntervalH": 12,
    "keepTemporariesH": 24,
    "cacheIgnoredFiles": false,
    "progressUpdateIntervalS": 5,
    "symlinksEnabled": true,
    "limitBandwidthInLan": false,
    "minHomeDiskFreePct": 1,
    "releasesURL": "https://api.github.com/repos/syncthing/syncthing/releases?per_page=30",
    "alwaysLocalNets": [],
    "overwriteNames": false,
    "tempIndexMinBlocks": 10
  }

```

config options as in config.xml:

```
    <options>
        <listenAddress>default</listenAddress>
        <globalAnnounceServer></globalAnnounceServer>
        <globalAnnounceEnabled>false</globalAnnounceEnabled>
        <localAnnounceEnabled>false</localAnnounceEnabled>
        <localAnnouncePort>21027</localAnnouncePort>
        <localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
        <maxSendKbps>0</maxSendKbps>
        <maxRecvKbps>0</maxRecvKbps>
        <reconnectionIntervalS>60</reconnectionIntervalS>
        <relayReconnectIntervalM>10</relayReconnectIntervalM>
        <startBrowser>true</startBrowser>
        <natEnabled>false</natEnabled>
        <natLeaseMinutes>60</natLeaseMinutes>
        <natRenewalMinutes>30</natRenewalMinutes>
        <natTimeoutSeconds>10</natTimeoutSeconds>
        <urAccepted>-1</urAccepted>
        <urUniqueID></urUniqueID>
        <urURL>https://data.syncthing.net/newdata</urURL>
        <urPostInsecurely>false</urPostInsecurely>
        <urInitialDelayS>1800</urInitialDelayS>
        <restartOnWakeup>true</restartOnWakeup>
        <autoUpgradeIntervalH>12</autoUpgradeIntervalH>
        <keepTemporariesH>24</keepTemporariesH>
        <cacheIgnoredFiles>false</cacheIgnoredFiles>
        <progressUpdateIntervalS>5</progressUpdateIntervalS>
        <symlinksEnabled>true</symlinksEnabled>
        <limitBandwidthInLan>false</limitBandwidthInLan>
        <minHomeDiskFreePct>1</minHomeDiskFreePct>
        <releasesURL>https://api.github.com/repos/syncthing/syncthing/releases?per_page=30</releasesURL>
        <overwriteNames>false</overwriteNames>
        <tempIndexMinBlocks>10</tempIndexMinBlocks>
        <upnpEnabled>false</upnpEnabled>
        <upnpLeaseMinutes>0</upnpLeaseMinutes>
        <upnpRenewalMinutes>0</upnpRenewalMinutes>
        <upnpTimeoutSeconds>0</upnpTimeoutSeconds>
        <relaysEnabled>false</relaysEnabled>
    </options>

```

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [May 10, 2016, 6:29am UTC](https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321/2 "2016-05-10T06:29:45Z")

</div>

Confirmed, that’s a bug. I think the thing is that the new “default” listen address includes relays, but it should still follow the relaysEnabled or it should be deprecated…

> <https://github.com/syncthing/syncthing/issues/3074>

Thanks for reporting it!

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [May 10, 2016, 6:45am UTC](https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321/3 "2016-05-10T06:45:46Z")

</div>

Might need some discussion on how to resolve in the cleanest manner. In the meantime, to _actually_ disable relaying, set your listen address to `tcp://0.0.0.0:22000` instead of `default`.

---

<div class="post-metadata">

### Author: ![macallik](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@macallik](https://forum.syncthing.net/u/macallik)
#### Post date: [March 16, 2026, 8:54pm UTC](https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321/4 "2026-03-16T20:54:47Z")

</div>

~10 year bump but is this still ongoing?

I have relay server disabled but openSnitch shows attempts are still being made regularly

 ![image](https://forum-uploads.syncthingcdn.net/original/3X/b/a/babe821a8bffa82c724135d40f35f2f5379bd839.png)

Maybe it should be in the documentation or tied to switch automatically when Relay server is disabled?

---

<div class="post-metadata">

### Author: ![Nummer378](https://forum.syncthing.net/user_avatar/forum.syncthing.net/nummer378/32/5958_2.png) [@Nummer378](https://forum.syncthing.net/u/Nummer378)
#### Post date: [March 16, 2026, 9:18pm UTC](https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321/5 "2026-03-16T21:18:25Z")

</div>

As you can read in the linked bug, this issue was fixed almost 10 years ago.

The hostname `data.syncthing.net` is not used for relays, but it is used for usage reports. Your screenshot does not show whether usage reporting is enabled or disabled on your instance.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [March 16, 2026, 9:23pm UTC](https://forum.syncthing.net/t/relay-server-connecting-when-not-enabled/7321/6 "2026-03-16T21:23:20Z")

</div>

53/UDP (DNS) makes no sense as the service for [data.syncthing.net](http://data.syncthing.net) either, so no sure what that thing is reporting, really. DNS lookups for [data.syncthing.net](http://data.syncthing.net)?
