Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about mosca

Read more about mosca

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - mosca

React application not connecting with local mqtt broker

I have setup a local mqtt broker using mosca as below var mosca = require('mosca'); var settings = { port:1883 } var server = new mosca.Server(settings); server.on('ready', function(){ conso...
test-img

Ashiq Dey

reactjs

mqtt

publish-subscribe

mosca

Votes: 0

Answers: 2

Latest Answer

You can not use native MQTT from within the browser. To use MQTT, you need to use it over WebSockets. so you should change the URL from mqtt://192.168.43.xxx:1883 to ws://192.168.43.xxx:[some other po...
test-img

Yasin Br

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved