Problem scenario: You modify this script to have a hostname, username, and password of a Windows server with IIS installed. You add a “puts line” stanza on line 32 for debugging. You try to run the script with ruby http.rb, but you get “connection refused.”
Possible solutions: If you changed the port stanza in the http.rb file from 80, make sure there is no firewall blocking the port in the path to the Windows server.
…
Continue reading “Using a rubyntlm script (http.rb), you get “connection refused.””