You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
connect ECONNREFUSED 127.0.0.1:6379 hosting with docker compose
#2678
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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?
All reactions