Hello,
I am using noobhub for implementing chat functionality in my app. For that I am using https://github.com/Overtorment/NoobHub .
Using node node.js command, I am setting up a local server on my system. In node.js, at server.listen, I am using my ip address and port number to make it work properly,
In main.lua, on the place of
hub = noobhub.new({ server = “127.0.0.1”; port = 1337; });
server and port, I am using my system ip address and port which I have used in mode.js.
When I am running it, it is working properly.
Now I want to make it global. For that what I have to do?
-
Should I have to run node.js on server?
-
In place of server and port what should I use to make it global so that I can run my app(chat server) on other devices?
Please suggest.
Thanks in advance.