bgirschig
New Member
- Joined
- Sep 15, 2018
Hello!
I'm new to this forum, and to windows, so please forgive me if i'm missing some guidelines
I'm trying to make a node server publicly accessible. The code is the simplest it can be, and works as expected on OSX and linux machines.
But somehow on windows, I can't get it to work.
What i've done:
1. install node js
2. create the directory, init npm, install the requirements (express)
3. copypaste the hello world code from here
4. modify the last line to make it serve on ip 0.0.0.0:
app.listen(8080, '0.0.0.0', () => console.log('Example app listening on port 8080!'))
5. open a browser (IE) and try to access http://0.0.0.0:8080
On the other systems, this works fine, but on windows, it doesn't.
I don't think this is a firewall issue, since it doesn't even work when trying from the "host" computer.
Am I missing something ?
I was thinking that maybe windows doesn't redirect 0.0.0.0 to localhost like linux and OSX does ?
Thanks for your help
I'm new to this forum, and to windows, so please forgive me if i'm missing some guidelines
I'm trying to make a node server publicly accessible. The code is the simplest it can be, and works as expected on OSX and linux machines.
But somehow on windows, I can't get it to work.
What i've done:
1. install node js
2. create the directory, init npm, install the requirements (express)
3. copypaste the hello world code from here
4. modify the last line to make it serve on ip 0.0.0.0:
app.listen(8080, '0.0.0.0', () => console.log('Example app listening on port 8080!'))
5. open a browser (IE) and try to access http://0.0.0.0:8080
On the other systems, this works fine, but on windows, it doesn't.
I don't think this is a firewall issue, since it doesn't even work when trying from the "host" computer.
Am I missing something ?
I was thinking that maybe windows doesn't redirect 0.0.0.0 to localhost like linux and OSX does ?
Thanks for your help