首页/网络/常用端口速查/8883 MQTT over TLS
本包目录(1171 条)
0-99 系统端口81 条100-199 系统端口99 条200-299 系统端口54 条300-399 系统端口74 条400-499 系统端口100 条500-599 系统端口99 条600-699 系统端口99 条700-1023 系统端口92 条1024-1999 注册端口47 条2000-2999 注册端口60 条3000-3999 注册端口39 条4000-4999 注册端口23 条5000-5999 注册端口47 条6000-6999 注册端口33 条7000-7999 注册端口23 条
8000-8999 注册端口65 条
9000-9999 注册端口47 条10000-19999 注册端口49 条20000-49151 注册端口23 条49152-65535 动态端口17 条

8883 MQTT over TLS

物联网消息协议的加密端口:MQTT Broker(Mosquitto、EMQX 等)把 TLS 监听开在 8883,替代明文 1883。

常用端口速查网络更新于 2026-10-12
服务MQTT over TLS(IANA: secure-mqtt)
协议TCP/TLS(8883;明文 1883)
用途IoT 设备与 Broker 的加密通信
安全等级面向设备网络,双向证书更佳

合规与生产 IoT 必须 8883:1883 明文意味着设备口令与遥测数据全程可读,还有 Mosquitto 匿名访问的历史教训。

mosquitto 配置与测试

mosquitto 配置与测试
listener 8883
cafile ca.crt
certfile server.crt
keyfile server.key
# 客户端
mosquitto_pub -h broker -p 8883 --cafile ca.crt -t test -m hello

易错点

  • 设备固件只信任明文 1883:升级 TLS 后大批设备掉线

数据来源与参考

  • OASIS MQTT 规范
  • IANA 端口注册表(secure-mqtt 8883)
  • Mosquitto 文档

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌