Becker, > 23.rb:7:in `initialize': No connection could be made > because the target machine actively refused it. - > connect(2) (Errno::ECONNREFUSED) > ... > Any help, i am a newbie Believe it or not, the error message is accurate. Windows XP is refusing the connection to port 80 on your box. Your code works fine on my Windows XP, so this may be a "personal firewall" issue. Can you hit port 80 on localhost with a browser? BTW, your "print(s.gets)" will generate an error when you do get to it. Perhaps you meant "print(s)"? I hope this helps. - Warren Brown