On Feb 18, 4:03 pm, SARFRAZ AHMED <[email protected]> wrote: > So I download Windows binaries from node's site and installed on my > Windows 7 machine which is installed fine, when I do: > > node --version > > It correctly displays its version: v0.6.7 > > Here is the hello world program: > > // app.js > var http = require('http'); > > http.createServer(function (req, res) { > res.writeHead(200, {'Content-Type': 'text/plain'}); > res.end('Hello World\n'); > > }).listen(8000, "127.0.0.1"); > > console.log('Server running athttp://127.0.0.1:8000/'); > > And when I do: > > node app.js > > I get the response fine: > > Server running athttp://127.0.0.1:8000/ > > However, when I browser the URLhttp://127.0.0.1:8000, the page keeps > on running (on status bar it says waiting for 127.0.0.1...). > > Can anybody help me how to make it to output Hello World ?
You should check your firewall and antivirus settings. If that doesn't help, I am afraid that you might be hitting a bug that a handful of windows users run into. Unfortunately neither me or Igor have been able to reproduce this problem, or get access to a machine where it happens. So we don't know when we will be able to solve this. - Bert -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
