Does not work when options.interface is specified
See original GitHub issueWhen options.interface is specified:
require("multicast-dns")({interface:"192.168.1.1"})
it didn’t work (no error, just no services found) while in the very same system omitting the options worked. The system actually has only one interface 192.168.1.1.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
python scapy using incorrect egress interface - Stack Overflow
I am unsure what the default behavior is for sendp() , but if you specify the interface, it should solve your problem. Share....
Read more >Cisco Firepower Threat Defense Configuration Guide for ...
Select Device > System Settings > Management Interface and configure IPv4 ... But Diagnostic will not use the data interfaces as a gateway....
Read more >Troubleshooting Interface Configuration - Oracle Solaris ...
This section discusses common problems that you might encounter while using the ipadm command to configure IP interfaces.
Read more >Handbook - Interfaces - TypeScript
If you do not want to specify types at all, TypeScript's contextual typing can infer the argument types since the function value is...
Read more >Options pattern in ASP.NET Core - Microsoft Learn
Discover how to use the options pattern to represent groups of related settings in ASP.NET Core apps.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If anyone is still wondering about this after one year like me :p
It seems that the latest version of the package adds a
bind
to options that is used as address in thesocket.bind()
call. Setting it to0.0.0.0
seems to fix the problem.Thanks!
require("multicast-dns")({bind: "0.0.0.0", interface:"192.168.1.1"});