Marc
Marc

Reputation: 212

Connection refused [tcp://IP-ADDRESS-HERE:6379] Redis. Laravel

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

Answers (2)

ugotchi
ugotchi

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:

  1. Run brew install redis (if on osx)
  2. Run redis-server

Upvotes: 1

Marc
Marc

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

Related Questions