From: Robert Klemme Date: 2013-01-23T05:03:55+09:00 Subject: Re: Getting error "getaddrinfo: No such host is known. (Socke tError)" with mechanize gem On Tue, Jan 22, 2013 at 6:53 PM, Arup Rakshit wrote: > Robert Klemme wrote in post #1093173: >> On Tue, Jan 22, 2013 at 3:52 PM, Arup Rakshit >> wrote: > >> Maybe it's the DNS setup on the company machine or how Ruby interacts >> with DNS there. > The link is opened and workable on my each browser - 'IE-9','firefox' > both. But it is not with the script as mentioned above. So any work > around on that? Really it is painful for me. This Gem has good > fetures,but couldn't use it. The same problem with "Nokogiri" also. Nokogiri will not open remote connections. It's just for parsing XML, HTML and the like. Unless I am overlooking something. Did you try to open a connection to that port using TCPSocket to verify the underlying mechanics work? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/