I'm new to redis, but I want to set one up on my Raspberry Pi 4 (RP) for using it in a Django application (with celery).
On my RP I have installed a firewall, ufw
, and allowed incomming traffic from my PC's IP on port 6379 (redis port).
I have then editted my redis.config
on RP with
bind 192...... #The IP address for my pc
But now the redis-server wont start. The log writes:
Could not create server TCP listening socket 192....:6379 bind: Cannot assign requested address
If I bind 0.0.0.0
it works fine, and I can access the server from my local PC.
As far as I understand, the "bind" is like an "allow connections from this ip"but I might've misunderstood it.
Any ideas on what that error setting "means"? Is it a firewall issue? Do I miss something in my redis.config
?.