1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Redis Connection with Python

Discussão em 'Python' iniciado por Stack, Maio 11, 2025.

  1. Stack

    Stack Membro Participativo

    Tried to connect Redis:

    self.redis_client = redis.Redis(host=self.host,port=int(self.port),username=self.username, password=self.password,decode_responses=True)

    print(self.redis_client.ping())

    I have connected and can see multiple host and it's data in RedisInsight app.

    Among that 1 host and it's data is able to view through above code

    All others shows Connection error. SERVER_CLOSED_CONNECTION_ERROR

    I tried the code I shared. And I could connect one of the host. But all other shows the same error

    Continue reading...

Compartilhe esta Página