dourangdz750379 2011-10-23 03:35
浏览 368
已采纳

在PHP服务器上更改默认的Mosquitto MQTT端口

I am running a MQTT server on PHP and using Android to connect to it. The problem I faced is that I am unable to get the default port 1883 opened for MQTT due to server restrictions. Only common ports (21, 80, 3306, 8080) are opened. Is there any 'hack' that will allow me to use these ports for my MQTT? I have tried ports 80, 3306 and 8080 but it doesn't work.

  • 写回答

1条回答 默认 最新

  • dowbwrr3590709 2011-10-24 09:49
    关注

    Well, typically the ports above 1000 are privileged and restricted anyway. What is happening when you adjust the broker settings to start on a different port? are those ports you list already opened by other applications?

    From the perspective of MQTT it will just be a case of setting the port number in the broker configuration and starting the broker. I can't see what else can help here?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!