wali razzaq
wali razzaq

Reputation: 83

Connection refused [tcp://127.0.0.1:6379] redis on shared hosting

I am trying to deploy laravel 5 app on shared hosting and it uses redis for broadcasting. It displays error

Connection refused [tcp://{{hosting IP here}}:6379]

I have also enabled redis option in hosting, I am using php 5.6.

Upvotes: 2

Views: 4556

Answers (1)

Jeremy
Jeremy

Reputation: 3809

For me, I had to make sure redis was installed and running.

To run Redis: redis-server

Test that it's running: redis-cli ping (returns PONG).

Now run Laravel Horizon: php artisan horizon

Upvotes: 3

Related Questions