Pramod
Pramod

Reputation: 96

Redis exception StackExchange.Redis.RedisConnectionException

I am getting this exception. Any clue?

StackExchange.Redis.RedisConnectionException:
It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. 

Upvotes: 0

Views: 1196

Answers (1)

Matías Fidemraizer
Matías Fidemraizer

Reputation: 64933

Possible reasons:

  • Is Redis up and running? Try to connect to it using redis-cli.
  • Is your connection settings to Redis right in your code (i.e. you're connecting to the right host and port...)?

The exception is quite expressive: ConnectionMultiplexer couldn't reach target Redis server.

Upvotes: 1

Related Questions