From: jason petrone Date: 2000-10-21T01:40:02+09:00 Subject: [ruby-talk:5715] Help: sockets broken I just compiled ruby 1.6.1 on an openbsd 2.6 machine(x86). When I try to run a script that works fine on my linux machine, I get: /usr/local/encap/ruby-1.6.1/lib/ruby/1.6/net/protocol.rb:439:in `new': getaddrinfo: name or service is not known (SocketError) from /usr/local/encap/ruby-1.6.1/lib/ruby/1.6/net/protocol.rb:439:in `initialize' from /usr/local/encap/ruby-1.6.1/lib/ruby/1.6/net/protocol.rb:210:in `new' from /usr/local/encap/ruby-1.6.1/lib/ruby/1.6/net/protocol.rb:210:in `connect' from /usr/local/encap/ruby-1.6.1/lib/ruby/1.6/net/protocol.rb:171:in `start' from test.rby:3 The offending code is: require 'net/http' page = Net::HTTP.new('127.0.0.1') page.start() Is there something wrong with my build? Or is my code bad, and the ruby build on my linux machine more forgiving? Thanks -jason