moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 513 forks source link

Why two processes... #794

Closed cosmodesantnik closed 5 years ago

cosmodesantnik commented 5 years ago

It turns out that when I start it, I get two processes on port 1883 another at 3000. Why is that?

var mosca = require("mosca"); var server = new mosca.Server({ http: { port: 3000, bundle: true, static: './' } });