Port 8883: MQTTS

Port 8883 is MQTT encrypted with TLS, used when IoT devices need to authenticate to the broker and protect message contents in transit. It is the secure counterpart to plain MQTT on port 1883.

TCPIoT & automation EncryptedIANA assigned
Port number8883
ServiceMQTT over TLS
ProtocolTCP
CategoryIoT & automation
Default encryptionYes (TLS/SSH)

Frequently asked questions

What is port 8883 used for?

Port 8883 is MQTT encrypted with TLS, used when IoT devices need to authenticate to the broker and protect message contents in transit. It is the secure counterpart to plain MQTT on port 1883.

Is port 8883 TCP or UDP?

Port 8883 (MQTTS) uses TCP.

Is port 8883 secure?

Yes. Port 8883 carries encrypted traffic by default, so data in transit is protected.

Should I open port 8883 on my firewall?

Only if you specifically need MQTTS. Expose it to the smallest set of trusted sources, and never open database or Windows-service ports to the whole internet.