MQTT publish/subscribe protocol for IoT devices and home automation (Mosquitto, EMQX, Home Assistant).
MQTT publish/subscribe protocol for IoT devices and home automation (Mosquitto, EMQX, Home Assistant).
Do not expose to the internet. Plain MQTT has no encryption, and many brokers allow anonymous access; open brokers leak sensor data and let anyone control devices. Use 8883 with TLS and require credentials.
Registry dates for this port: last modified 2015-02-10.
sudo ss -tlnp 'sport = :1883'sudo lsof -nP -i :1883sudo netstat -tlnp | grep ':1883 'netstat -ano | findstr :1883Get-NetTCPConnection -LocalPort 1883 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 1883Test-NetConnection HOST -Port 1883sudo ufw deny 1883/tcpsudo iptables -A INPUT -p tcp --dport 1883 -j DROPsudo nft add rule inet filter input tcp dport 1883 dropNew-NetFirewallRule -DisplayName 'Block TCP 1883' -Direction Inbound -Protocol TCP -LocalPort 1883 -Action BlockAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.