Reputation: 212
I am trying to deploy laravel 5 app on shared hosting and it uses redis for caching. It displays error
Connection refused [tcp://IP-ADDRESS-HERE:6379]
I have enabled Redis option in hosting, I am using php 5.4.
Upvotes: 4
Views: 2878
Reputation: 1013
I had this exact same error trying to follow Laracast's socket.io course.
My steps to resolve this are in the comments above, but for clarity:
brew install redis
(if on osx)redis-server
Upvotes: 1
Reputation: 212
It turns out I can't use port 6379 in the hosting company I'm with because they don't open that port for shared hosting.
Upvotes: 1