-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bonjour can find services that it created itself, but nothing else can #14
Comments
@MarshallOfSound It might be related to which interface it tries to bind to. It should bind to all network interfaces, but maybe it doesn't. Do you mind showing me your |
You can take a look, there are a few interfaces there though 😄 {
"VirtualBox Host-Only Network #2":[
{
"address":"2620:9b::1922:5b34",
"netmask":"ffff:ffff:ffff:ffff::",
"family":"IPv6",
"mac":"0a:00:27:00:00:00",
"scopeid":0,
"internal":false
},
{
"address":"fe80::5c1a:317d:78e0:8d3c",
"netmask":"ffff:ffff:ffff:ffff::",
"family":"IPv6",
"mac":"0a:00:27:00:00:00",
"scopeid":4,
"internal":false
},
{
"address":"169.254.141.60",
"netmask":"255.255.0.0",
"family":"IPv4",
"mac":"0a:00:27:00:00:00",
"internal":false
}
],
"Ethernet":[
{
"address":"2001:388:608c:6cb4:29b4:1aad:ca61:f3fa",
"netmask":"ffff:ffff:ffff:ffff::",
"family":"IPv6",
"mac":"fc:aa:14:28:ac:a3",
"scopeid":0,
"internal":false
},
{
"address":"2001:388:608c:6cb4:8c17:17c8:9aa3:e543",
"netmask":"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"family":"IPv6",
"mac":"fc:aa:14:28:ac:a3",
"scopeid":0,
"internal":false
},
{
"address":"fe80::29b4:1aad:ca61:f3fa",
"netmask":"ffff:ffff:ffff:ffff::",
"family":"IPv6",
"mac":"fc:aa:14:28:ac:a3",
"scopeid":9,
"internal":false
},
{
"address":"118.138.193.83",
"netmask":"255.255.252.0",
"family":"IPv4",
"mac":"fc:aa:14:28:ac:a3",
"internal":false
}
],
"Loopback Pseudo-Interface 1":[
{
"address":"::1",
"netmask":"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"family":"IPv6",
"mac":"00:00:00:00:00:00",
"scopeid":0,
"internal":true
},
{
"address":"127.0.0.1",
"netmask":"255.0.0.0",
"family":"IPv4",
"mac":"00:00:00:00:00:00",
"internal":true
}
],
"Teredo Tunneling Pseudo-Interface":[
{
"address":"2001:0:9d38:90d7:2466:1cd1:8975:3eac",
"netmask":"ffff:ffff:ffff:ffff::",
"family":"IPv6",
"mac":"00:00:00:00:00:00",
"scopeid":0,
"internal":false
},
{
"address":"fe80::2466:1cd1:8975:3eac",
"netmask":"ffff:ffff:ffff:ffff::",
"family":"IPv6",
"mac":"00:00:00:00:00:00",
"scopeid":24,
"internal":false
}
]
} |
@watson It appears to be due to https://developer.apple.com/library/mac/qa/qa1337/_index.html |
Seems to work fine for me @MarshallOfSound, try using an mDNS browser app on your phone to verify. |
@MarshallOfSound ah yes, that might also be it. I have a local fix for it that depends on something being fixed first in a dependency that I've been putting off for too long now. I'll see if I can get it fixed in the weekend. Thanks for letting me know about this 😃 |
@watson Is there any progress on this, is there anything I can do to help? 😸 |
hi guys, i published a service and detection from an android app was a success but not frm the chrome mdns browser ? any fix guys ? |
looks like a dead end @watson do you think you are going to provide the relevant fix ? Thanks ! |
+500 on this, can't detect a service on my mac ( /btw, opts.probe ain't seem to be documented @MarshallOfSound have you found a fix? How have you worked around this? Are you using some other solution? @watson Are you still maintaining this project? Would love to see a fix / contribute. |
The service announcement in this example, and by default if not specified, uses "os.hostname()" as the host for the service. This must have ".local" at the end to work, but that's certainly not the case for some Linux installs - I would go so far as to say most Linux installs. Without this, the service is announced but isn't resolvable to a host. On my setup here (a minimal Ubuntu install), this was fixed by changing the line in service.js from:
to something like:
No pull request as I'm not sure how this will work on different combinations of client and server OS, but it's fixed this issue for me with a Linux server and Mac client. |
Piggybacking on @faceless2's answer: Added the host parameter specifying the Pinging woopboop.local from my terminal worked after this. |
I went with https://github.com/agnat/node_mdns and that worked from the get-go |
Running the following in my app
The
up
event is fired forservice
but when I attempt to find the published service with this chrome apphttps://chrome.google.com/webstore/detail/mdns-browser/kipighjpklofchgbdgclfaoccdlghidp
It is not there. Is there some configuration step I am missing, or is there a trick to getting this to run on a device that already has Apple Bonjour running?
The text was updated successfully, but these errors were encountered: