redis-server /usr/redis/redis.conf
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 2.8.3 (00000000/0) 64 bit
.-`` .-". "\/ _.,_ ''-._
( ' , .-` | `, ) Running in stand alone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 2658
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
[2658] 24 Mar 19:55:30.836 # Server started, Redis version 2.8.3
[2658] 24 Mar 19:55:30.836 * The server is now ready to accept connections on port 6379
redis-cli
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>
今天下午重启了一下服务器,然后就这样了,求教怎么解决?
Adakah anda melaksanakan redis-server /usr/redis/redis.conf dan kemudian menamatkan perintah dan kemudian melaksanakan redis-cli dengan cara ini
Anda perlu membiarkan pelayan redis berjalan di latar belakang