Hacker News new | past | comments | ask | show | jobs | submit login
Example Redis binds to just 127.0.0.1 (github.com/antirez)
2 points by _hyn3 on Feb 20, 2015 | hide | past | favorite | 2 comments



tl;dr: @antirez just modified the default redis.conf so that it does not bind to the world. In a tradeoff between first-user experience and security, secure-by-default is the way to go.

Just a heads up: when you are freshly installing/configuring Redis from source, be sure to comment out "bind 127.0.0.1" if you wish to access Redis from other servers. (Some distributions, such as Debian/Ubuntu, change the default to bind to localhost only.)

Hopefully this change will minimize exposed Redis boxes with minimal impact. (note, memcache is open to the world by default as well.)


thank you Jamieson - a small but an important change in light of recent dramas :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: