# How setup to use ONLY my relay server.

**URL:** https://forum.syncthing.net/t/how-setup-to-use-only-my-relay-server/9847
**Category:** Support
**Created:** [May 23, 2017, 9:26pm UTC](https://forum.syncthing.net/t/how-setup-to-use-only-my-relay-server/9847 "2017-05-23T21:26:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![admiralu82](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@admiralu82](https://forum.syncthing.net/u/admiralu82)
#### Post date: [May 23, 2017, 9:26pm UTC](https://forum.syncthing.net/t/how-setup-to-use-only-my-relay-server/9847/1 "2017-05-23T21:26:46Z")

</div>

I have private relay started with -pools="". In both clients i setup Sync Protocol listen address to relay://aa.bbb.ru:22067/?id=dddddW-ddddd-ffff-dddd-ddddd-fffff-ffff-fffff

Also i clear Global and Local Discovery, and Set Using relay

But this clients not see each other? What i doing wrong?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [May 23, 2017, 10:07pm UTC](https://forum.syncthing.net/t/how-setup-to-use-only-my-relay-server/9847/2 "2017-05-23T22:07:22Z")

</div>

Set listen address and remote device address to the relay address.

---

<div class="post-metadata">

### Author: ![admiralu82](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@admiralu82](https://forum.syncthing.net/u/admiralu82)
#### Post date: [May 24, 2017, 5:25am UTC](https://forum.syncthing.net/t/how-setup-to-use-only-my-relay-server/9847/3 "2017-05-24T05:25:55Z")

</div>

if both clents have listen address releay, also need setup releay in remote device?

How use my relay + public relay but prefer my releay?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [May 24, 2017, 7:00am UTC](https://forum.syncthing.net/t/how-setup-to-use-only-my-relay-server/9847/4 "2017-05-24T07:00:06Z")

</div>

You need to setup the explicit address to connect to (address field in the device editor window), which in your case is a relay.

You cannot make them connect via a public relay if you are not using discovery, as you will not know which relay (out of the many) the other side is connected to.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [June 23, 2017, 7:03am UTC](https://forum.syncthing.net/t/how-setup-to-use-only-my-relay-server/9847/5 "2017-06-23T07:03:07Z")

</div>

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