Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis-cli cannot connect to server #2783

Closed
bestvow opened this issue Aug 28, 2018 · 9 comments
Closed

redis-cli cannot connect to server #2783

bestvow opened this issue Aug 28, 2018 · 9 comments
Labels
bug report Something is not working properly

Comments

@bestvow
Copy link

bestvow commented Aug 28, 2018

redis-cli cannot connect to server.

@fornwall
Copy link
Member

A preliminary check: Have you run pkg up to ensure latest package versions?

Could you give more information about the error (what output do you get)? Also, could you paste the output from running termux-info?

@fornwall fornwall added the bug report Something is not working properly label Aug 28, 2018
@bestvow
Copy link
Author

bestvow commented Aug 28, 2018

Sorry for my recklessness.
Please see the gif.
Android 8.0 system with the latest version termux & redis.
333

@ghost
Copy link

ghost commented Aug 28, 2018

@fornwall I did a fix for this issue in #2786.

fornwall pushed a commit that referenced this issue Aug 28, 2018
@ghost
Copy link

ghost commented Aug 28, 2018

@bestvow This should be fixed now. Just update and do redis-cli again.

@fornwall
Copy link
Member

Thanks to @xeffyr this is fixed in version 4.0.11-1 of the redis package!

Run pkg up to update and let us know if any problem remain.

@sicaboy
Copy link

sicaboy commented May 28, 2019

A fresh install today and this issue happened. Googled and found this issue.

Then I did:
$ nohup redis-server &
and worked

@JosiasAurel
Copy link

Hey, I tried installing redis and it didn't work for me. I had this error :

$ redis-cli
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>

@ghost
Copy link

ghost commented Jul 4, 2020

Hey, I tried installing redis and it didn't work for me.

It doesn't work for you because server is not started.

Start server (redis-server) and it will work.

Screenshot_20200704-202056_Termux

@JosiasAurel
Copy link

Thanks alot 🙏. I am new to redis that's why 😋

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug report Something is not working properly
Projects
None yet
Development

No branches or pull requests

4 participants