On Aug 9, 3:39 am, thuan le minh <[email protected]> wrote:
> but , when i try test this program on my client machine . I use any
> webrowser ex : Mozila firefox, IE, google chrome (type : x.x.x.x:1340), it
> not work and return me an error message : *Can not create connection to
> server x.x.x.x or connection timeout

If you are using your browser on a machine other than localhost/
127.0.0.1 where the server is running, you need to change what
address(es) your server listens on. Currently your example server only
listens on localhost, if you want to listen on any address, either
don't specify an address (e.g. `listen(1340);`) or use '0.0.0.0'
instead.

-- 
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

Reply via email to