# What port does the Argon use to connect to the Particle Cloud?

**URL:** <https://community.particle.io/t/what-port-does-the-argon-use-to-connect-to-the-particle-cloud/45598>\
**Category:** BLE // NFC\
**Created:** [November 26, 2018, 4:51pm UTC](https://community.particle.io/t/what-port-does-the-argon-use-to-connect-to-the-particle-cloud/45598 "2018-11-26T16:51:03Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [February 5, 2019, 10:42pm UTC](https://community.particle.io/t/what-port-does-the-argon-use-to-connect-to-the-particle-cloud/45598/15 "2019-02-05T22:42:09Z")

</div>

> [@dybm](#):
>
> Argon trying to connect over port 5684, instead of the documented 5683?

Yup, the Photon uses CoAP over TCP on 5683 but the Argon uses DTLS UDP which goes via 5684.

> [@How to force TCP on ARGON to connect to Particle Cloud](https://community.particle.io/t/how-to-force-tcp-on-argon-to-connect-to-particle-cloud/47392/3):
>
> @SammyG I’d like to make a small correction: it’s UDP 5684 defined as coaps (DTLS-secured CoAP). Devices connecting over TCP will use 5683 defined as coap [1]. At the moment Gen 3 devices also use ephemeral random source ports when establishing connections. The source port range is [49152, 65535] for Argons, Borons and Xenons with Ethernet FeatherWing and [40000, 49000] for Xenons connecting through a gateway. [1] [https://www.iana.org/assignments/service-names-port-numbers/service-names-port-n…](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=95)

---

_[View the full topic](https://community.particle.io/t/what-port-does-the-argon-use-to-connect-to-the-particle-cloud/45598)._
