Skip to content

Instantly share code, notes, and snippets.

@carltondickson
Last active December 21, 2020 17:22
Show Gist options
  • Save carltondickson/717125970aefb36444e476fec5b0bc08 to your computer and use it in GitHub Desktop.
Save carltondickson/717125970aefb36444e476fec5b0bc08 to your computer and use it in GitHub Desktop.
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