Server + Port Numbers

The server for MQTT is There are four port numbers: one for standard non-encrypted MQTT, one for encrypted MQTT, one for unencrypted MQTT over websockets, and one for encrypted MQTT over websockets.

  Pro port number  
Unencrypted MQTT 61617
Encrypted MQTT 61618
Unencrypted MQTT over WebSockets 61627
Encrypted MQTT over WebSockets 61628

It is recommended that the encrypted ports be used if possible. Otherwise, user information like passwords can be seen in the cleartext.