# Self-Host relay server over https

**URL:** https://forum.syncthing.net/t/self-host-relay-server-over-https/26964
**Category:** Support
**Created:** [July 29, 2026, 12:25pm UTC](https://forum.syncthing.net/t/self-host-relay-server-over-https/26964 "2026-07-29T12:25:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shed](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/s/db5fbb/32.png) [@shed](https://forum.syncthing.net/u/shed)
#### Post date: [July 29, 2026, 12:25pm UTC](https://forum.syncthing.net/t/self-host-relay-server-over-https/26964/1 "2026-07-29T12:25:42Z")

</div>

I understand that syncthing uses a special port for sync (22067) and it does not support syncing via https. Is that true?

I saw on [https://relays.syncthing.net/](https://relays.syncthing.net/) that 141.14.27.100:443 uses port 443 and it is the relay that is supposed to transfer the most data.

So if it is possible to run a relay on port 443, does it require special conditions?

I am using caddy to host applications behind a domain with https Will adding a relay on port 443 be able to go through caddy?

Can anyone shed some light on this issue?

---

<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: [July 30, 2026, 11:02am UTC](https://forum.syncthing.net/t/self-host-relay-server-over-https/26964/3 "2026-07-30T11:02:19Z")

</div>

The relay protocol is not HTTPS, though it can be run on port 443. It will only work through a reverse proxy if that proxy passes on the TCP connection unmolested and attempts no TLS termination or HTTPS interpretation on it.

---

<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: [August 29, 2026, 11:03am UTC](https://forum.syncthing.net/t/self-host-relay-server-over-https/26964/4 "2026-08-29T11:03:03Z")

</div>

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