Git Product home page Git Product logo

Comments (6)

erikdubbelboer avatar erikdubbelboer commented on June 15, 2024

It basically says it can't connect to tcp://host.docker.internal:6380.
Make sure Redis is running on the same machine on port 6380 outside of Docker.
If you run Redis in Docker as well you'll probably have to use docker-compose to start both inside the same network and use the container hostname to connect to instead of host.docker.internal.

from phpredisadmin.

JESii avatar JESii commented on June 15, 2024

Thanks...
First off, I'm running through an ssh tunnel, so Redis is on the other side of the tunnel and exposing port 6380.
Second, the following works to start rediscommander thru the tunnel

docker run --rm \
  -p 8181:8081 \
  -e NODE_TLS_REJECT_UNAUTHORIZED=0 \
  -e REDIS_HOST=host.docker.internal \
  -e REDIS_PORT=6380 \
  -e REDIS_TLS=true \
  -e REDIS_PASSWORD=$1 \
  rediscommander/redis-commander:latest

so I can't figure out what's causing phpRedisAdmin to fail... I'll keep trying things, but any insight you have would be most appreciated.

from phpredisadmin.

erikdubbelboer avatar erikdubbelboer commented on June 15, 2024

Could it be that you have the SCAN command disabled? It is trying to execute this command and the error happens when receiving the response. Otherwise I have no idea how to help you further.

Side note: What is the benefit of using phpRedisAdmin over redis-commander? It seems like redis-commander has more features and is being actively developed.

from phpredisadmin.

JESii avatar JESii commented on June 15, 2024

from phpredisadmin.

erikdubbelboer avatar erikdubbelboer commented on June 15, 2024

Sounds like you have a lot of keys in your Redis. These kinds of admin interfaces are more for smaller instances or for during development.
To maintain some production system with a lot of keys I would always just use the CLI interface.
I heard some good things about https://www.redsmin.com/ in the past, but I have never used it myself.

from phpredisadmin.

JESii avatar JESii commented on June 15, 2024

from phpredisadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.