Q
Q
qwertyuih2017-01-07 18:38:50
Redis
qwertyuih, 2017-01-07 18:38:50

How to fix connection problem with Redis?

The server has node.js, which connects to the radish through the configuration standard, now it took to install php5-dev in order to connect to the radish from separate pages. Node.js server stopped turning on after installation

Error Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED

+ No connection via console
redis-cli
Could not connect to Redis at 127.0.0.1:6379: Connection refused

only works redis-server
What causes it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akzhan, 2017-01-07
@akzhan

Check that redis-server is running, or even restart it.
The problem is not in phpredis etc., but in the absence of a listener (server) at 127.0.0.1:6379.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question