Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:21:17+00:00 2026-05-29T21:21:17+00:00

So I download Windows binaries from node’s site and installed on my Windows 7

  • 0

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 at http://127.0.0.1:8000/');

And when I do:

node app.js

I get the response fine:

Server running at http://127.0.0.1:8000/

However, when I browser the URL http://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 ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:21:18+00:00Added an answer on May 29, 2026 at 9:21 pm

    This is what I get with curl:

    $ curl -vv localhost:8000
    
    * About to connect() to localhost port 8000 (#0)
    *   Trying ::1... Connection refused
    *   Trying 127.0.0.1... connected
    * Connected to localhost (127.0.0.1) port 8000 (#0)
    > GET / HTTP/1.1
    > User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
    > Host: localhost:8000
    > Accept: */*
    > 
    < HTTP/1.1 200 OK
    < Content-Type: text/plain
    < Connection: keep-alive
    < Transfer-Encoding: chunked
    < 
    Hello World
    * Connection #0 to host localhost left intact
    * Closing connection #0
    

    nothing wrong with it. Try updating node to the latest stable version (but I don’t see how it can help) and be sure any process except node is owning the tcp port 8000.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On the SVN Windows binaries download page, there are a few to choose from:
According to the Windows Binaries download page http://windows.php.net/download/ Do NOT use VC9 version with
I download FFMPEG from http://www.videohelp.com/tools/ffmpeg#download and saved it in my c:\program files\ffmpeg (Windows Vista).
Can anybody help me, from where I can download LevelDB for Java-Windows because I
Is there any way to download Windows updates programmatically from within a C# application?
* 1. Download the Windows installer from the PIL website. * 2. Double click
I'm trying to download the standard version of PostgreSQL (for Windows) for a while
Where can I download Subversion 1.6.9 binaries for Windows (Apache 2.2-compatible, zipped, without a
I was not able to download xcode4 from windows pc, even with valid iphone
I have already download the windows phone develop tools but I don't know how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.