Network port detail · UDP/TCP

1883

MQTT
Plaintext by default
Protocol(s)
UDP/TCP
Category
Messaging
Range
Registered (1024-49151)
Encrypted?
No (default)

Summary

// if you see it open
Port 1883 is plaintext — the protocol mandates neither encryption nor authentication, so credentials (if any) are sent in clear text. Key risks: anonymous/unauthenticated access (~58%, 41,558 of 71,508 brokers in Shadowserver's early-2020 snapshot accepted anonymous connections); data leakage (any connected client can subscribe to all topics and read sensor/command/location data); message injection (publish arbitrary commands to subscribed devices); and DoS (SlowITe keepalive-timeout abuse, research published 2020). Mitigations: use 8883 (MQTT over TLS), enforce authentication (username/password or X.509 client certs), firewall 1883 to trusted networks, never expose on the public internet without TLS+auth.
// analyst note
an open 1883 reachable from the internet is a high-value exposure — treat anonymous/unauthenticated brokers as data-leakage and command-injection risk; expect TLS-secured deployments on 8883 instead.
[ 01 ] — Context

About port 1883/tcp.

Updated  ·  Confidence: High

Port 1883/tcp is registered with IANA as mqtt, described as "Message Queuing Telemetry Transport Protocol," assignee [OASIS] and contact [Robin_Cover], dual-registered on 1883/tcp and 1883/udp; the registry's Reference column is blank and its registration-date column is blank, with a recorded modification date of 2015-02-10. MQTT is a lightweight publish-subscribe messaging protocol designed for constrained devices and low-bandwidth, high-latency, or unreliable networks: clients connect to a central broker and either publish messages to topics or subscribe to topics to receive them. It originated in 1999 (IBM and Eurotech) for SCADA/pipeline telemetry and is now the dominant protocol for IoT, smart-home, industrial automation, and machine-to-machine (M2M) traffic; it is standardized as OASIS MQTT 3.1.1 (2014) and MQTT 5.0 (2019), republished as ISO/IEC 20922. Port 1883 carries the cleartext (unencrypted) variant — the TLS variant uses port 8883. For an analyst, 1883 is significant chiefly as an exposure surface: the protocol itself mandates neither encryption nor authentication, so a broker reachable on 1883 can leak every topic's data to anyone who connects, and an unauthenticated client can publish arbitrary commands to subscribed devices. Shadowserver's daily IPv4-wide MQTT scan (its Open MQTT Report launched 2020-03-13) found 71,508 responsive brokers in an early-2020 snapshot, of which roughly 58% (41,558) accepted anonymous connections with no credentials; Shodan figures cited in subsequent research have surfaced 500,000+ unauthenticated brokers at various points. Common broker software listening on 1883 includes Eclipse Mosquitto, EMQX, and HiveMQ, with public test brokers (broker.hivemq.com, broker.emqx.io) also reachable there. Recommended posture is to use 8883 with TLS, enforce authentication (username/password or X.509 client certificates), and firewall 1883 to trusted networks — never expose it on the public internet without TLS plus auth.

IANA assignment
mqtt — "Message Queuing Telemetry Transport Protocol"; reference (blank — no RFC cited in IANA registry); assignee [OASIS]; contact [Robin_Cover]; dual-registered 1883/tcp + 1883/udp [Confirmed] — IANA Service Name and Transport Protocol Port Number Registry (the IANA Service Name and Transport Protocol Port Number Registry)
Range class
registered (1024–49151)
Related ports
8883/tcp (MQTT over TLS); contrast other IoT/messaging protocols (CoAP, AMQP)

Primary use

default cleartext broker port for MQTT publish-subscribe messaging; clients connect to a broker to publish to or subscribe to topics; dominant in IoT, smart-home, industrial automation, and M2M

[Confirmed] — Wikipedia (MQTT), emqx.com/en/blog/mqtt-ports

Common software

brokers Eclipse Mosquitto, EMQX, HiveMQ; clients/tools MQTTX and Eclipse Paho libraries; public test brokers broker.hivemq.com and broker.emqx.io also listen on 1883

[Confirmed] — EMQX broker comparison, HiveMQ broker guide, mqttx.app

Security implications

plaintext, no mandatory auth or encryption in the protocol; risks include anonymous access, data leakage (subscribe to all topics), message injection (publish arbitrary commands), and DoS (SlowITe keepalive-timeout abuse, 2020); ~58% of brokers in Shadowserver's early-2020 snapshot allowed anonymous connections

[Confirmed/Threat-reported] — Shadowserver Open MQTT Report, HiveMQ MQTT Security Fundamentals

Exposure/scanning

actively scanned by Shadowserver (daily IPv4-wide, Open MQTT Report launched 2020-03-13), Shodan, and researchers; 71,508 responsive brokers in the early-2020 Shadowserver snapshot, 500,000+ unauthenticated instances per Shodan-cited research at various points

[Confirmed] — Shadowserver Open MQTT Report

Typically seen on

IoT/IIoT deployments, smart-home hubs, industrial control/OT networks, and message-broker hosts

Registry dates
registration date blank in registry; modification date 2015-02-10 [Confirmed] — IANA registry CSV
Standards
OASIS MQTT 3.1.1 (2014-10-29), OASIS MQTT 5.0 (2019-03-07), republished as ISO/IEC 20922 [Confirmed] — Wikipedia (MQTT)
TLS variant
port 8883 carries MQTT over TLS; 1883 is unencrypted [Confirmed] — Wikipedia (MQTT), emqx.com/en/blog/mqtt-ports
Analyst note
an open 1883 reachable from the internet is a high-value exposure — treat anonymous/unauthenticated brokers as data-leakage and command-injection risk; expect TLS-secured deployments on 8883 instead.
[ 02 ] — Context

About port 1883/udp.

Updated  ·  Confidence: High

Port 1883/udp is registered with IANA as mqtt with the description "Message Queuing Telemetry Transport Protocol," assignee OASIS, contact Robin Cover, a blank reference field, and a recorded modification date of 2015-02-10 (the registration-date column is blank in the registry). It is dual-registered: an identical entry exists for 1883/tcp with the same service name, description, assignee, contact, and modification date. MQTT is a lightweight publish-subscribe messaging protocol designed by Andy Stanford-Clark (IBM) and Arlen Nipper (Arcom) in 1999 for constrained IoT devices on low-bandwidth or unreliable networks; devices publish messages to topics through a broker and subscribers receive them. The catch for an analyst is the transport mismatch: the OASIS MQTT specification requires a reliable, ordered transport, so essentially all deployed MQTT runs over TCP — port 1883/tcp — and the UDP registration is a mirrored reservation rather than a live wire protocol. The only real UDP traffic on this port comes from MQTT/UDP (v0.5), an experimental, broker-less broadcast variant that reuses the port number but is not part of the OASIS standard and remains in active development. Security exposure on 1883 is significant but applies overwhelmingly to the TCP side: the protocol is unencrypted, so even password-protected brokers leak credentials in transit, and unauthenticated brokers, wildcard topic subscriptions, and command-injection into subscribed IoT devices are common pentest findings. Shadowserver has scanned port 1883/tcp daily worldwide since March 2020, flagging anonymous-access brokers as HIGH severity. Recommended posture is to block 1883 externally and use 8883 (MQTT over TLS) instead, with enforced authentication and ACLs. For 1883/udp specifically, a responsive port is far rarer than its TCP counterpart and most likely indicates either the experimental MQTT/UDP project or a non-MQTT service squatting on the number — worth investigating rather than assuming standard MQTT.

IANA assignment
mqtt — "Message Queuing Telemetry Transport Protocol"; reference (blank — no RFC cited in IANA registry); assignee OASIS; contact Robin Cover; modification date 2015-02-10; registration date blank; dual-registered 1883/tcp + 1883/udp
[Confirmed] — IANA Service Name and Transport Protocol Port Number Registry (search 1883)
Range class
registered (1024–49151)
Related ports
8883/tcp (MQTT over TLS); 1883/tcp (the live MQTT transport)

Primary use

MQTT lightweight publish-subscribe IoT messaging via a broker; spec requires reliable ordered transport, so real-world MQTT runs over TCP, not UDP

[Confirmed] — mqtt.org FAQ, emqx.com MQTT ports

Other/unofficial uses

MQTT/UDP (v0.5) experimental broker-less broadcast variant reusing the port; not an OASIS standard

[Confirmed] — mqtt-udp.readthedocs.io

Common software

standard MQTT brokers/clients (Eclipse Mosquitto, HiveMQ, EMQX, VerneMQ, AWS IoT Core, Azure IoT Hub, RabbitMQ MQTT plugin); MQTT/UDP implementations in C, Java, Python 3, Lua (NodeMCU), CoDeSys ST

[Confirmed] — emqx.com, mqtt-udp.readthedocs.io, hivemq.com

Security implications

unencrypted protocol leaks credentials in transit; unauthenticated brokers, wildcard topic subscriptions exposing all messages, and command injection into subscribed IoT devices are common findings; Shadowserver scans 1883/tcp daily since March 2020 and flags anonymous-access brokers HIGH severity (exposure applies primarily to the TCP side)

[Confirmed/Threat-reported] — Shadowserver Open MQTT Report, HiveMQ, HackTricks 1883 MQTT

Typically seen on

IoT brokers and gateways (almost always over TCP); a responsive 1883/udp most likely the experimental MQTT/UDP project or a non-MQTT service

[Likely] — emqx.com, mqtt-udp.readthedocs.io
Analyst note
Mitigate by blocking 1883 externally and using 8883 (TLS) with authentication and ACLs. Treat an open 1883/udp as anomalous relative to the TCP norm and investigate before assuming standard MQTT.
// registry data

Service assignments.

2 entries
// IANA / nmap services registry
NameProtocolDescriptionOpen frequency
ibm-mqisdp UDP IBM MQSeries SCADA 0.03%
mqtt TCP Message Queuing Telemetry Transport Protocol 0.01%
IANA name
mqtt
Transport
TCP
Range
Registered (1024-49151)

Service assignments from the IANA Service Name and Transport Protocol Port Number Registry, with open-frequency data from nmap-services.