# How to prevent devices from announcing themselves to stdiscosrv with random ports in addition to port 22000, while nat and lan discovery are already disabled?

**URL:** https://forum.syncthing.net/t/how-to-prevent-devices-from-announcing-themselves-to-stdiscosrv-with-random-ports-in-addition-to-port-22000-while-nat-and-lan-discovery-are-already-disabled/22814
**Category:** Support
**Created:** [September 18, 2024, 11:11am UTC](https://forum.syncthing.net/t/how-to-prevent-devices-from-announcing-themselves-to-stdiscosrv-with-random-ports-in-addition-to-port-22000-while-nat-and-lan-discovery-are-already-disabled/22814 "2024-09-18T11:11:20Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![firesnake](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/f/dbc845/32.png) [@firesnake](https://forum.syncthing.net/u/firesnake)
#### Post date: [September 18, 2024, 1:30pm UTC](https://forum.syncthing.net/t/how-to-prevent-devices-from-announcing-themselves-to-stdiscosrv-with-random-ports-in-addition-to-port-22000-while-nat-and-lan-discovery-are-already-disabled/22814/9 "2024-09-18T13:30:34Z")

</div>

client config is in first post from here [Cannot get QUIC working at all](https://forum.syncthing.net/t/cannot-get-quic-working-at-all/22782) with current modifications that I also set

`announceLANAddresses` is false

`natEnabled` is false

and changed back from non-working quic to tcp4

---

_[View the full topic](https://forum.syncthing.net/t/how-to-prevent-devices-from-announcing-themselves-to-stdiscosrv-with-random-ports-in-addition-to-port-22000-while-nat-and-lan-discovery-are-already-disabled/22814)._
