redis set up remote access and set passwords

Modify redis.conf file

I came redis.conf

# Comment it, in order to allow external network access

#bind 127.0.0.1

 

# Way to start the background process

daemonize yes

 

#requirepass foobared uncommented, foobared changed my password

 

Restart redis service

./redis-server /usr/local/redis/etc/redis.conf

Guess you like

Origin www.cnblogs.com/flyfly123/p/12625992.html