Complete the code to set Redis to listen on port 6379.
port [1]The default Redis port is 6379. Setting port 6379 tells Redis to listen on this port.
Complete the code to bind Redis to localhost only.
bind [1]Binding Redis to 127.0.0.1 restricts connections to the local machine only.
Fix the error in the bind configuration to allow only local connections.
bind [1]The correct IP to bind Redis locally is 127.0.0.1. Using 'localhost' as a string is invalid in Redis config.
Fill both blanks to configure Redis to listen on port 6380 and bind to all interfaces.
port [1] bind [2]
Setting port 6380 changes the listening port. Binding to 0.0.0.0 allows Redis to accept connections from any network interface.
Fill all three blanks to configure Redis to bind only to localhost, listen on port 6379, and disable the default port.
bind [1] port [2] port [3]
Binding to 127.0.0.1 restricts Redis to local connections. Setting port 0 disables listening on the port.