Any idea why this code...
require 'socket'
server = TCPServer.new('127.0.0.1', 5056)
socket = server.accept
socket.puts('it works')
socket.flush
doesn't work on my Unix server? If I run it in the background, I can
connect from the same machine using telnet and it works fine... but I
cannot connect from any remote machines.
What am I missing?
--
Posted via http://www.ruby-forum.com/.