I want to create an HTTP server that serves devices connected to same network
I tried,
http.createServer(function (req, res) {
res.write('hello');
res.end();
}).listen(8080,'192.168.1.108');
then
http.createServer(function (req, res) {
res.write('hello');
res.end();
}).listen(8080,'0.0.0.0');
and more.
But it works well in the device I run the code but not in the device connected to the same network