Which port and protocol is commonly used by MQTT over TLS for secure connections?

Study for the CPSA Port Numbers Exam. Practice with flashcards and multiple choice questions, each with hints and explanations. Get ready for your test!

Multiple Choice

Which port and protocol is commonly used by MQTT over TLS for secure connections?

Explanation:
MQTT over TLS uses TCP as the transport and encryption is added with TLS, and the standard secure port for this setup is 8883. This pairing—MQTT over TLS on TCP port 8883—is what brokers and clients expect when you enable encryption, making it the typical default for secure MQTT connections. The other options point to different, non-secure or non-MQTT services: plain MQTT over TCP uses 1883, while 80 is for HTTP and 443 is for HTTPS. So for a secure MQTT connection, the expected configuration is TCP with port 8883.

MQTT over TLS uses TCP as the transport and encryption is added with TLS, and the standard secure port for this setup is 8883. This pairing—MQTT over TLS on TCP port 8883—is what brokers and clients expect when you enable encryption, making it the typical default for secure MQTT connections. The other options point to different, non-secure or non-MQTT services: plain MQTT over TCP uses 1883, while 80 is for HTTP and 443 is for HTTPS. So for a secure MQTT connection, the expected configuration is TCP with port 8883.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy