After upgrading to homestead 7.0.0 box whenever I run the artisan command on Mac book terminal (Host Machine) it returned the following error

php artisan
In AbstractConnection.php line 155:
Connection refused [tcp://192.168.10.10:6379]

I noticed that it was because of the changed setting in redis config file.
After modifying the redis config as follows the issue was resolved

vi /etc/redis/redis.conf

Commented the line
#bind 127.0.0.1 ::1

Modified the line to
protected-mode no
Laravel Homestead7.0 Php artisan Error
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.