TCPSocket.new Errno::EBADF: Bad file descriptor error

0 views
Skip to first unread message

Aryk Grosz

unread,
Sep 25, 2007, 11:38:51 AM9/25/07
to rubyonra...@googlegroups.com
Im trying to use memcache-client, but there is a line in their where it
calls:

TCPSocket.new(host, port). It fails at this point. I've tried just
trying to establish a connection in my script/console with

TCPSocket.new("localhost", 11211)
TCPSocket.new("127.0.0.1", 11211)
TCPSocket.new("<my comp name>", 11211)
TCPSocket.new("<my ip address>", 11211)

And I also tried with different ports. I had my Norton AV firewall
turned off as well and even tried this on my friends computer in the
script/console environment.

We have not been able to get a connection established in any attempts.

Does anyone know what might be wrong?
--
Posted via http://www.ruby-forum.com/.

Reply all
Reply to author
Forward
0 new messages