Port reference › Messaging

Port 8883 · MQTT over TLS

Encrypted MQTT

TCP Messaging Exposure risk: Low

What is port 8883 used for?

MQTT over TLS, used by cloud IoT services such as AWS IoT Core.

Registered port (1024-49151): the range used by ordinary applications.

Security notes

Combine with client certificates or account auth.

Allow port 8883 through the firewall

This port is generally fine to expose publicly.

sudo ufw allow 8883/tcp
sudo ufw status

Check whether port 8883 is open

sudo ss -tlpn | grep ':8883 '

Ports used together

Other messaging ports

9092 Kafka 5672 AMQP (RabbitMQ) 15672 RabbitMQ management UI