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

Prepare for the CPSA Port Numbers Exam with quizzes on port numbers, services, and protocols. Each question is accompanied by hints and detailed explanations. Get exam-ready with our comprehensive study tool!

Multiple Choice

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

Explanation:
MQTT over TLS is commonly called MQTTS, and the standard port for secure MQTT sessions is 8883. This port is recognized as the default for encrypted MQTT connections, so clients connect with TLS enabled to 8883 to ensure encryption and authentication. The other ports serve different purposes: 1883 is the default for plain MQTT without TLS, 21 is FTP, and 443 is typically used for HTTPS (TLS-enabled web traffic), not the standard MQTT secure port. Therefore, 8883 is the correct choice for MQTT over TLS.

MQTT over TLS is commonly called MQTTS, and the standard port for secure MQTT sessions is 8883. This port is recognized as the default for encrypted MQTT connections, so clients connect with TLS enabled to 8883 to ensure encryption and authentication. The other ports serve different purposes: 1883 is the default for plain MQTT without TLS, 21 is FTP, and 443 is typically used for HTTPS (TLS-enabled web traffic), not the standard MQTT secure port. Therefore, 8883 is the correct choice for MQTT over TLS.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy