I want to run simple code:
Net::HTTP.start(‘www.rubyinside.com’) do |http|
req = Net::HTTP::Get.new(‘/test.txt’)
but I’ve got following error:
A request to send or receive data was disallawed because the socket is
not connected and (when sending on a datagram socket using a sendto
call) no address was supplied. (Errno::ENOTCONN).
Is it because im behind proxy ?
How to make code run smoothly ?