Home Net Guide

Home / Port numbers / Port 1883

Port 1883: MQTT

Messages between smart devices and their hub. Port 1883 uses TCP.

Port
1883
Commonly used for
MQTT
Transport
TCP
Encrypted
No
Range
User (registered) port, 1024 to 49151
Our advice
Keep it closed to the internet
IANA registration
mqtt Message Queuing Telemetry Transport Protocol (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 1883 is used for

Port 1883 is MQTT, a lightweight publish-and-subscribe protocol made for small devices. Sensors, smart plugs and home automation systems such as Home Assistant exchange readings and commands through a broker, commonly Mosquitto, on this port.

Should port 1883 be open?

On 1883 nothing is encrypted, and many brokers are set up without passwords. Researchers regularly find open brokers on the internet publishing door, camera and location data, and accepting commands. Keep the broker on your local network. If devices outside must connect, use port 8883 with TLS and passwords.

Related ports

  • Port 8883 (MQTT over TLS): encrypted messages between devices and a broker
  • Port 8123 (Home Assistant): the Home Assistant smart-home dashboard
  • Port 5683 (CoAP): a lightweight web-like protocol for small devices

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 1813 (RADIUS accounting) · Next: Port 1900 (SSDP (UPnP discovery))