What are the requirements for the IP address passed to TCPSocket.new?
Example…
require ‘socket’
=> trues = TCPSocket.new ‘127.0.0.1’, 6500
Errno::ECONNREFUSED: Connection refused - connect(2)
from (irb):2:ininitialize' from (irb):2:in
new’
from (irb):2
In other words, what relationship does the machine on which the Ruby
code is being run have with the IP address referenced in the code?