Get continuously this error in var/reports file. I tried below link solution but still it not fixed. Can anyone please help me for this as it goes on critical now.
Asked
Active
Viewed 761 times
1 Answers
0
I have written this same answer here. Posting it here as well
TL;DR Your redis is not secure. Use redis.conf from this link to secure it
long answer:
This is possibly due to an unsecured redis-server
instance. The default redis image in a docker container is unsecured.
I was able to connect to redis
on my webserver using just redis-cli -h <my-server-ip>
To sort this out, I went through this DigitalOcean article and many others and was able to close the port.
- You can pick a default redis.conf from here
- Then update your docker-compose
redis
section to(update file paths accordingly)
redis:
restart: unless-stopped
image: redis:6.0-alpine
command: redis-server /usr/local/etc/redis/redis.conf
env_file:
- app/.env
volumes:
- redis:/data
- ./app/conf/redis.conf:/usr/local/etc/redis/redis.conf
ports:
- "6379:6379"
the path to redis.conf
in command
and volumes
should match
- rebuild redis or all the services as required
- try to use
redis-cli -h <my-server-ip>
to verify (it stopped working for me)

itaintme
- 1,575
- 8
- 22