Open mishoboss opened 8 years ago
Same here.
I ran a command in my Ubuntu system.
sudo avahi-publish-service $HOSTNAME _http._tcp 3000 "test"
I ran the snippet in my Windows 10 system.
var bonjour = require('bonjour')();
bonjour.find({type:'_http'}, function(service){
console.log('found');
})
console.log('started');
Unlike other approach (i.e. Android app "Pea Finder" or running both in one system), the client side script based on "bonjour" didn't work. I tried to change the argument 'http' as well for both side. However, it doesn't work.
I tried to figured out with various cases and Windows doesn't work at all for both being server and client. However, in Ubuntu and raspbian, any of those work very well.
In addition to my observation,
tricky tricky.
So how to get it work on Windows? Is there acually any way?
Anything new on this?
Also having issues on Windows. I'm on a Mac running Windows 10 using parallels.
Hi, I'm totally unable to discover the service published via this module when using different machines under the same local network:
Server on machine 1:
Client on machine 2:
Note that when server and client run on the same machine, it works as expected. I'm not sure if this issue is due to implementation, or router configuration. My network consists from a MikroTik router and Ubiquiti UniFi Access point. Other ssdp works like a charm. Any ideas are welcome.