Skip to content

Instantly share code, notes, and snippets.

@carltondickson
Last active December 21, 2020 17:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Access Homestead Redis server from host

For local development only

  • Comment out bind 127.0.0.1 ::1 in nano /etc/redis/redis.conf
  • Set protected-mode no
  • sudo service redis-server restart
  • Access Redis using Redis client, e.q. Redis Deskktop Manager
    • Only need to set address as per Homestead.yaml file, e.g. 192.168.10.10
    • Port is probably default 6379

Better to enable protected mode and set specific bind addresses if for any sensitive environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment