getaddrinfo ENOTFOUND表示客户端无法连接到给定地址。请尝试指定不带http的主机:
var optionsget = { host : 'localhost', port : 3010, path : '/quote/random', // the rest of the url with parameters if needed method : 'GET' // do GET};关于学习资源,如果您先从http://www.nodebeginner.org/开始学习,然后再读一本好书以获取更深入的知识,则不会出错-
我推荐使用Professional
Node.js,但是这里有很多内容那里。



