DalliError: No server available, port 11211 -- connection refused

You can choose redis or memcached cache store, see

https://github.com/sharetribe/sharetribe/blob/master/config/environments/staging.rb#L60

For redis you should add ENV vars like:

redis_host=localhost
redis_port=6379
redis_db=0

As default sharetribe config is for Memcachier servers like for apps on Heroku, for using local memcached server you can simplify config line:

config.cache_store = :dalli_store, 'localhost:11211'
1 Like