Friday, August 31, 2012

{ [Error: getaddrinfo ENOENT] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'getaddrinfo' }

You may get this error when you send request to any URL from nodejs,
Simply you can solve this error by doing following

1. Find out IP of url (which you try to access from your code)
2. Add that url and domain in your /etc/hosts as below

Cheers !!

Thursday, August 30, 2012

Upgrade NodeJS

Install node module 'n', this module helps nodejs version managements
Do as below

1. $npm install n -g
2. n 0.8.8

Its really awasome !!!

Contact Me for any help regarding rails/nodejs/php/mysql


Email *

Message *