> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/xian-shang-gong-ju/mqtt-server/test.mosquitto.org.md).

# test.mosquitto.org

{% embed url="<https://test.mosquitto.org/ssl/>" %}

The server The server listens on the following ports:

> ### The server
>
> The server listens on the following ports:
>
> * 1883 : MQTT, unencrypted
> * 8883 : MQTT, encrypted
> * 8884 : MQTT, encrypted, client certificate required
> * 8080 : MQTT over WebSockets, unencrypted
> * 8081 : MQTT over WebSockets, encrypted

<div align="left"><img src="https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LztVJYSOIa9y96Vczp_%2F-LztWNSkuWt6XMxSYt1L%2Fimage.png?alt=media&amp;token=1d9aaa7a-c75e-4973-b456-564930c5b1f5" alt=""></div>

<div align="left"><img src="https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LztVJYSOIa9y96Vczp_%2F-LztWElIzIkF4bEiMApo%2Fimage.png?alt=media&amp;token=7b27aba7-ef30-49bb-a45a-d0f437aadaf1" alt=""></div>

```
mosquitto_pub -h test.mosquitto.org -t kawsing --cert testmqtt.crt --key client.key -m "haha"

mosquitto_sub -h test.mosquitto.org -t kawsing --cert testmqtt.crt --key client.key


```
