Hello,
I have a small ruby server application that uses code like this:
server = TCPServer.new(‘10.2.77.66’, 6060)
the problem is that I can only access it on browser if I use:
instead i want to access it also using: hostname, localhost, 127.0.0.1,
…
is there a way I can instantiate the TCPServer to take care of all
addresses?
–
Ochomo