I have redis server running on one server. By default it listens to port 6379. When I open the redis conf file I see something like this
Since my redis client resides on another remote server which is not in the same network as this, I need to bind this to the public IP of the redis client. Something like this
And I don't want to specify
bind 0.0.0.0. When I try that and restart redis server, I get the following error
bind : cannot assign requested address
In general how do I bind an application to a specific public IP ?