# Connection Failure: RPI Pico W to HiveMQ Cloud

**URL:** <https://community.hivemq.com/t/connection-failure-rpi-pico-w-to-hivemq-cloud/1359>\
**Category:** HiveMQ Cloud\
**Created:** [August 19, 2022, 8:30am UTC](https://community.hivemq.com/t/connection-failure-rpi-pico-w-to-hivemq-cloud/1359 "2022-08-19T08:30:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Daria\_H](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@Daria\_H](https://community.hivemq.com/u/Daria_H)\
**Post date:** [August 22, 2022, 12:02pm UTC](https://community.hivemq.com/t/connection-failure-rpi-pico-w-to-hivemq-cloud/1359/4 "2022-08-22T12:02:34Z")

</div>

Hi @karl60 ,

Nice to see your interest in MQTT and HiveMQ Cloud, please welcome to our community 👋

Using port 1883 on HiveMQ Cloud doesn’t make any sense, there are only following ports available:

| Port (TLS): | 8883 |
| --- | --- |
| Port (Websocket + TLS): | 8884 |

To connect to 8883 you need:

- hostname of your cluster;
- username and password from the clusters MQTT Credentials;
- HiveMQ Cloud requires the TLS-SNI extension to be available and used, please refer [here](https://community.hivemq.com/t/client-is-not-authorized-to-connect/856/37) and check if it is available in your system.
- some devices require the root certificate. You can download the root certificate [here](https://letsencrypt.org/certs/isrgrootx1.pem).

I hope this helps,  
Kind regards,  
Dasha from HiveMQ

---

_[View the full topic](https://community.hivemq.com/t/connection-failure-rpi-pico-w-to-hivemq-cloud/1359)._
