-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Password for Redis #1414
Comments
|
I saw they recommend adding
|
It took me awhile to understand Jim's post, but here were the commands I eventually ran:
Thanks, @JimChenWYU ! Very helpful. These edits are probably important to make too because of security: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04 |
Also make sure you do a |
You just need to update redis.conf inside with the password you want. Regarding binding addresses.Don't use bind 0.0.0.0 in production! Explanation: "localhost" is normally the hostname for the 127.0.0.1 IP address. It's usually set in /etc/hosts (or the Windows equivalent named "hosts" somewhere under %WINDIR%). You can use it just like any other hostname - try "ping localhost" to see how it resolves to 127.0.0.1. 0.0.0.0 has a couple of different meanings, but in this context, when a server is told to listen on 0.0.0.0 that means "listen on every available network interface". The loopback adapter with IP address 127.0.0.1 from the perspective of the server process looks just like any other network adapter on the machine, so a server told to listen on 0.0.0.0 will accept connections on that interface too. |
Thanks a lot for the feedback @xlstefan . The way I understand it is that if you set |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi again 👋 we would like to inform you that this issue has been automatically |
Hi,
I need to apply a password for Redis, as I am using Laradock for production environment, what's the best way to do so ?
Thank you.
The text was updated successfully, but these errors were encountered: