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>
今天下午重启了一下服务器,然后就这样了,求教怎么解决?
redis-server /usr/redis/redis.conf를 실행한 후 명령을 종료하고 redis-cli를 이렇게 실행하나요?
redis-server가 백그라운드에서 실행되도록 해야 합니다