Replies: 1 comment
-
| @tungrix hi, did you manage to solve it? | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am hosting the redis inside docker-compose:
version: "3.8" services: redis: image: redis/redis-stack-server:latest container_name: redis restart: always volumes: - redis_volume_data:/data ports: - 6379:6379 command: redis-stack-server --protected-mode no volumes: redis_volume_data:My connection script (I am running it also inside the docker container):
However, I got:
Redis Client Error Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 6379 }What's wrong with my connection? How can I solve it?
Beta Was this translation helpful? Give feedback.
All reactions