Closed GoogleCodeExporter closed 8 years ago
You did not give much details ...
Here are a few points you may want to check:
- which Java client do you use? Is it your own?
- How about using an existing client first? (Jedis for instance)
- Please attach your small program
- Please check that Redis is listening on a port (and not only on a Unix socket)
- Can you connect from Windows directly by using telnet?
For instance; assuming you use the default port for Redis
telnet <your ip address> 6379
*1
$4
INFO
*1
$4
QUIT
- If telnet does not work you may want to check your connectivity, firewall
configuration, etc ...
Regards,
Didier.
Original comment by didier...@gmail.com
on 5 Mar 2011 at 9:08
It's my own java client. Jedis didn't work so I made one but it failed as well
as telnet. Now I'm going to check whether Redis's listening only on a Unix
socket.
Original comment by lamusico...@gmail.com
on 5 Mar 2011 at 11:46
Redis is listening on tcp socket. The small programme only create a socket to
connect <host port>, it worked in linux and failed in windows. BTW, telnet
failed too...
Original comment by lamusico...@gmail.com
on 5 Mar 2011 at 12:13
Well, if telnet fails too, it means you have some kind
of connectivity problems between your two boxes
(at least for the port Redis listen to).
My advice is to start with stuff like ping, tracert, etc ...
and then check the firewall/security configuration of your
machines (both machines).
Original comment by didier...@gmail.com
on 5 Mar 2011 at 12:56
Now I fixed the problem. I forgot to have the port redis listen to included in
the firewall configuration... What a silly mistake..
Original comment by lamusico...@gmail.com
on 6 Mar 2011 at 4:59
Original comment by pcnoordh...@gmail.com
on 6 Mar 2011 at 2:06
Original issue reported on code.google.com by
lamusico...@gmail.com
on 5 Mar 2011 at 7:48