it seems you hardcoded the ip address and it is unlikely you have same ip in the two machines.
2012/12/4 atul kanekar <[email protected]> > Hi.. > Atul here ...i have install node on local and server (on ubuntu).On > local it is working fine..with any port..But it is not working on > server...So please help me out ...i am sending here code...as follows : > > 1.hello.js > > var http = require('http'); > http.createServer(function (req, res) { > res.writeHead(200, {'Content-Type': 'text/plain'}); > res.end('Hello Node.js\n'); > }).listen(5190,"124.153.76.232"); > > 2. node hello.js > > 3. and accessing on as 124.153.76.232:5190 > > But i am getting here error i am unable to get solution...please help me... > > > Thanks.. > > -- > 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 > -- 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
