question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work when options.interface is specified

See original GitHub issue

When 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:open
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
pipexcommented, Jun 3, 2020

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 the socket.bind() call. Setting it to 0.0.0.0 seems to fix the problem.

0reactions
ke4neccommented, Mar 19, 2021

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 the socket.bind() call. Setting it to 0.0.0.0 seems to fix the problem.

Thanks! require("multicast-dns")({bind: "0.0.0.0", interface:"192.168.1.1"});

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found