Port 1883

mqtt · TCP/UDP

RangeRegistered port (1024–49151)
ProtocolTCP/UDP
Servicemqtt
Modified2015-02-10

Frequently asked questions

What is port 1883 used for?

Port 1883 is registered with the IANA for mqtt (TCP/UDP). Description: Message Queuing Telemetry Transport Protocol.

Is port 1883 a well-known port?

No. Port 1883 is in the range 1024–49151 (registered or user ports). Ordinary programs may open it without root privileges.

How do I check whether port 1883 is open?

Locally on Linux with ss -tulpn | grep ':1883\b', on Windows with netstat -ano | findstr :1883. To test a remote host use Test-NetConnection <host> -Port 1883 in PowerShell or nc -zv <host> 1883 on Linux/macOS.

How do I open port 1883 in the firewall?

Ubuntu/Debian (ufw): sudo ufw allow 1883/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=1883/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 1883" -Direction Inbound -Protocol TCP -LocalPort 1883 -Action Allow.

IANA registry entries

ProtocolServiceDescription (IANA)
TCPmqttMessage Queuing Telemetry Transport Protocol
UDPmqttMessage Queuing Telemetry Transport Protocol

Nearby entries