so I'm doing, amongst other things to make the server work, http.listen(3000, '127.0.0.1').
It works fine for that specified ip (localhost), but when I try to connect to my app from an outside client via my public ip, it doesn't work (doesn't load or even request the server). Trying to solve this problem, I came across a post telling me my ip is not unique: http://ift.tt/1MXz09U
How would I uniquely specify what to send an http request to, and more broadly, how do I serve a nodejs app from my own machine?
Thanks.
Aucun commentaire:
Enregistrer un commentaire