Issue 666 in redis: Could not connect to Redis at 127.0.0.1:6379: Connection refused

5,098 views
Skip to first unread message

re...@googlecode.com

unread,
Apr 14, 2012, 12:24:36 AM4/14/12
to redi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 666 by maprefer...@gmail.com: Could not connect to Redis at
127.0.0.1:6379: Connection refused
http://code.google.com/p/redis/issues/detail?id=666

Hi Redis Core Team,

In order to feel the power of redis, I have already set up a security group
with the port 6379 in amazon ec2.

Under the redis-stable/src directory in my ec2 instance via either
putty.exe or nxclient, I have tried to start the redis console by using
redis-cli , redis-cli -p 3000 -h my ip address, redis-cli -p 6379 -h my ip
address, redis-cli -p 80 -h 127.0.0.1 , redis-cli -p 3000 -h 127.0.0.1 and
redis-cli -p 6379 -h 127.0.0.1 , redis-cli -p 3000 and redis-cli -p 6379...

But all in vain. All I got is the message below:
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>

And when I use redis-cli -p 80 -h my ip address and redis-cli -p 80,
I can log in, but when I type "ping" to see if it works or not. I got the
message below:
Error: Protocol error, got "<" as reply type byte

Kindly wonder what I have done wrong. Any help appreciated here please.
Thanks.

Chris Love

unread,
Apr 14, 2012, 11:47:04 AM4/14/12
to redi...@googlegroups.com, codesite...@google.com
What flavor of unix are you using? How are you verifying that redis has started?


As well as there is a books section here http://redis.io/documentation ... Little Redis Book is a great read.

Chris

BTW you may want to post questions like this to the google redis-db group.

re...@googlecode.com

unread,
Apr 15, 2012, 3:52:53 PM4/15/12
to redi...@googlegroups.com

Comment #1 on issue 666 by josiah.c...@gmail.com: Could not connect to

1. Bugs are no longer maintained here, they are maintained:
https://github.com/antirez/redis/issues
2. You are not experiencing a bug, you are just trying to use Redis
incorrectly (you probably haven't started Redis up, which is why the client
is not able to connect).
3. You should be posting on
https://groups.google.com/forum/?fromgroups#!forum/redis-db to get help,
not on a bug tracker.

re...@googlecode.com

unread,
Aug 5, 2014, 2:39:29 AM8/5/14
to redi...@googlegroups.com

Comment #2 on issue 666 by l...@abbeypost.com: Could not connect to Redis
Hi Everyone,

I experience the same issue and the start command says:
/var/run/redis_6379.pid exists, process is already running or crashed




--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

deve...@crm.kg

unread,
Jan 6, 2016, 5:24:42 AM1/6/16
to Redis DB, codesite...@google.com, re...@googlecode.com
hi, run application redis-server.
C:\Program Files\Redis\redis-server.exe
Reply all
Reply to author
Forward
0 new messages