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.

Discovering a Node Http Server

See original GitHub issue

Hello,

First, thank you for providing this library. I have a use-case where i want to discover a node server on the local network. On the node server i tried using both node_mdns and node-bonjur/zeroconf for advertising the http server. On the mobile app i am scanning for such services using the this._zeroconf.scan('http'); method, however, the http service does not seem to be discovered (events ‘found’ and ‘resolved’ do not get fired) from the mobile. I am using an android emulator btw.

Would really appreciate some feedback on this. Thank you!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
alejandromvpcommented, Nov 26, 2018

Please share the code of how to implement zeroconf and react native

1reaction
balthazarcommented, Jun 4, 2017

I usually do it in the. componentWillUnmount of the component that triggers the scan, but I’m not sure this will be called on reload, you might try it out 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node Hero - Your First Node.js HTTP Server - Blog - RisingStack
In this chapter, I'll show how you can fire up a simple Node.js HTTP server and start serving requests. See all chapters of...
Read more >
Create an HTTP Server with Node.js : Beginner's Guide
A Node http server is the easiest way to get your hands on the same and practice a Node js web server. You...
Read more >
wankdanker/node-discover - GitHub
Automatic and decentralized discovery and monitoring of nodejs instances with built in support for a variable number of master processes, service advertising ...
Read more >
A Beginner's Guide to Server-Side Web Development with ...
This post is a write-up of how I learnt more about server-side web development with Node.js, and a brief comparison of writing a...
Read more >
Exploring Node.js Internals - Smashing Magazine
Node.js is an interesting tool for web developers. ... then how would we do something like access the file system or make an...
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