From: Baq Haidri Date: 2008-05-07T09:46:45+09:00 Subject: Re: SocketError: getaddrinfo: nodename nor servname provided Great, that did it! Thanks Michael! (and I apologize to everyone who was spammed with this message--I *did* do a google search & doc search but couldn't find a solution...) Michael Boutros wrote: > Try this: > > require 'net/http' > Net::HTTP.start('www.google.com') do |http| > response = http.get('/') > puts response > end > > > #start doesn't take the protocol. -- Posted via http://www.ruby-forum.com/.